Revision 9ee6e8bb hw/arm_sysctl.c
b/hw/arm_sysctl.c | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Status and system control registers for ARM RealView/Versatile boards. |
3 | 3 |
* |
4 |
* Copyright (c) 2006 CodeSourcery. |
|
4 |
* Copyright (c) 2006-2007 CodeSourcery.
|
|
5 | 5 |
* Written by Paul Brook |
6 | 6 |
* |
7 | 7 |
* This code is licenced under the GPL. |
... | ... | |
200 | 200 |
return; |
201 | 201 |
s->base = base; |
202 | 202 |
s->sys_id = sys_id; |
203 |
/* The MPcore bootloader uses these flags to start secondary CPUs. |
|
204 |
We don't use a bootloader, so do this here. */ |
|
205 |
s->flags = 3; |
|
203 | 206 |
iomemtype = cpu_register_io_memory(0, arm_sysctl_readfn, |
204 | 207 |
arm_sysctl_writefn, s); |
205 | 208 |
cpu_register_physical_memory(base, 0x00001000, iomemtype); |
Also available in: Unified diff