Changeset a5f76758 in mainline
- Timestamp:
- 2006-07-13T19:50:06Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10b890b
- Parents:
- 94d614e
- Location:
- boot/arch/sparc64/loader
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/asm.S
r94d614e ra5f76758 27 27 # 28 28 29 #define STACK_WINDOW_SAVE_AREA_SIZE (16*8) 30 31 #define PSTATE_AM_BIT 8 29 #include <stack.h> 30 #include <register.h> 32 31 33 32 .text -
boot/arch/sparc64/loader/boot.S
r94d614e ra5f76758 27 27 # 28 28 29 #define INITIAL_STACK 0x0 29 #include <stack.h> 30 #include <register.h> 30 31 31 #define PSTATE_IE_BIT 2 32 #define PSTATE_AM_BIT 8 32 #define INITIAL_STACK_SIZE 1024 33 33 34 34 .register %g2, #scratch … … 63 63 wrpr %g2, 0, %pstate 64 64 65 # TODO: set initial stack 65 set initial_stack_top, %g3 66 add %g3, -STACK_BIAS, %sp 66 67 67 68 set ofw_cif, %l0 … … 72 73 b bootstrap 73 74 nop 75 76 .align 16 77 initial_stack: 78 .space INITIAL_STACK_SIZE 79 initial_stack_top: 80 .space STACK_WINDOW_SAVE_AREA_SIZE
Note:
See TracChangeset
for help on using the changeset viewer.