diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-10-28 06:16:10 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-10-28 06:16:10 +0100 |
commit | b715c39bfa1e2169f450f719ba8a7643c7b39b68 (patch) | |
tree | dc5becbf9c6826e8e17b34fe84723630e8410ad5 /sys/src/9/bcm/mem.h | |
parent | 0fc2adb43dc8be67b6eca49e3e28339367a01246 (diff) |
bcm: simplify reboot code
- synchronize rebootcode installation
- handle the 1MB identity map in mmu.c (mmuinit1())
- do not overlap CONFADDR with rebootcode, the non boot
processors are parked there.
- make REBOOTADDR physical address
Diffstat (limited to 'sys/src/9/bcm/mem.h')
-rw-r--r-- | sys/src/9/bcm/mem.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/src/9/bcm/mem.h b/sys/src/9/bcm/mem.h index f9b6af838..baed39050 100644 --- a/sys/src/9/bcm/mem.h +++ b/sys/src/9/bcm/mem.h @@ -44,6 +44,7 @@ #define KSEGM 0xC0000000 #define KZERO KSEG0 /* kernel address space */ #define CONFADDR (KZERO+0x100) /* unparsed plan9.ini */ +#define REBOOTADDR (0x1c00) /* reboot code - physical address */ #define MACHADDR (KZERO+0x2000) /* Mach structure */ #define L2 (KZERO+0x3000) /* L2 ptes for vectors etc */ #define VCBUFFER (KZERO+0x3400) /* videocore mailbox buffer */ @@ -62,9 +63,6 @@ #define TSTKTOP (USTKTOP-USTKSIZE) /* sysexec temporary stack */ #define TSTKSIZ 256 -/* address at which to copy and execute rebootcode */ -#define REBOOTADDR (KZERO+0x1800) - /* * Legacy... */ |