Changeset 1b43a04 in mainline for boot/arch/sparc64/loader/boot.S
- Timestamp:
- 2006-11-05T13:49:23Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b63a7cc
- Parents:
- 14de0dd8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/boot.S
r14de0dd8 r1b43a04 31 31 #include <register.h> 32 32 33 #define INITIAL_STACK_SIZE 1024 33 #define INITIAL_STACK_SIZE 8192 34 35 #define NWINDOWS 8 34 36 35 37 .register %g2, #scratch … … 55 57 .align 8 56 58 1: 57 flushw58 59 59 /* 60 60 * Disable interrupts and disable address masking. 61 61 */ 62 62 wrpr %g0, PSTATE_PRIV_BIT, %pstate 63 64 wrpr %g0, NWINDOWS - 2, %cansave ! set maximum saveable windows 65 wrpr %g0, 0, %canrestore ! get rid of windows we will never need again 66 wrpr %g0, 0, %otherwin ! make sure the window state is consistent 67 wrpr %g0, NWINDOWS - 1, %cleanwin ! prevent needless clean_window traps for kernel 63 68 64 69 set initial_stack_top, %sp
Note:
See TracChangeset
for help on using the changeset viewer.