Changeset b44939b in mainline
- Timestamp:
- 2006-09-26T13:29:07Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26678e5
- Parents:
- 45b26dad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/start.S
r45b26dad rb44939b 44 44 * 45 45 * The registers are expected to be in this state: 46 * - %o0 non-zero for the bootstr up processor, zero for application/secondary processors46 * - %o0 non-zero for the bootstrap processor, zero for application/secondary processors 47 47 * - %o1 bootinfo structure address 48 48 * - %o2 bootinfo structure size … … 57 57 .global kernel_image_start 58 58 kernel_image_start: 59 brz %o0, kernel_image_start ! block secondary processors 60 nop 59 mov %o0, %l7 61 60 62 61 /* … … 76 75 * to the kernel bootinfo structure. 77 76 */ 77 brz %l7, 0f ! skip if you are not the bootstrap CPU 78 78 sethi %hi(bootinfo), %o0 79 79 call memcpy 80 80 or %o0, %lo(bootinfo), %o0 81 0: 81 82 82 83 /* … … 226 227 wrpr %g0, 0, %tl 227 228 229 brz %l7, 2f ! skip if you are not the bootstrap CPU 230 228 231 call arch_pre_main 229 232 nop
Note:
See TracChangeset
for help on using the changeset viewer.