Changes in boot/arch/sparc64/loader/boot.S [5360cf0:a1a83e5e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/boot.S
r5360cf0 ra1a83e5e 31 31 #include <register.h> 32 32 33 #define INITIAL_STACK_SIZE 33 #define INITIAL_STACK_SIZE 8192 34 34 35 #define NWINDOWS 35 #define NWINDOWS 8 36 36 37 37 .register %g2, #scratch … … 57 57 .half 0 58 58 .half 0 59 60 59 .global silo_ramdisk_image 61 60 silo_ramdisk_image: 62 61 .word 0 63 64 62 .global silo_ramdisk_size 65 63 silo_ramdisk_size: … … 67 65 68 66 .align 8 69 1: 67 1: 70 68 /* 71 69 * Disable interrupts and disable address masking. … … 73 71 wrpr %g0, PSTATE_PRIV_BIT, %pstate 74 72 75 wrpr %g0, NWINDOWS - 2, %cansave 76 wrpr %g0, 0, %canrestore 77 wrpr %g0, 0, %otherwin 78 wrpr %g0, NWINDOWS - 1, %cleanwin 79 73 wrpr %g0, NWINDOWS - 2, %cansave ! set maximum saveable windows 74 wrpr %g0, 0, %canrestore ! get rid of windows we will never need again 75 wrpr %g0, 0, %otherwin ! make sure the window state is consistent 76 wrpr %g0, NWINDOWS - 1, %cleanwin ! prevent needless clean_window traps for kernel 77 80 78 set initial_stack_top, %sp 81 79 add %sp, -STACK_BIAS, %sp 82 80 83 81 set ofw_cif, %l0 84 85 call ofw_init 82 83 call ofw_init ! initialize OpenFirmware 86 84 stx %o4, [%l0] 87 85 … … 92 90 initial_stack: 93 91 .space INITIAL_STACK_SIZE 94 95 92 initial_stack_top: 96 93 .space STACK_WINDOW_SAVE_AREA_SIZE
Note:
See TracChangeset
for help on using the changeset viewer.