Changeset 32573ff in mainline for boot/arch/sparc64/src/asm.S
- Timestamp:
- 2016-05-02T20:58:16Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/src/asm.S
r6adb775f r32573ff 28 28 # 29 29 30 #include <abi/asmtool.h> 30 31 #include <arch/arch.h> 31 32 … … 42 43 .register %g7, #scratch 43 44 44 .global start45 .global halt46 .global jump_to_kernel47 48 45 .section BOOTSTRAP, "ax" 49 46 50 start: 47 SYMBOL(start) 51 48 ba %xcc, 1f 52 49 nop … … 96 93 .text 97 94 98 halt: 95 FUNCTION_BEGIN(halt) 99 96 ba %xcc, halt 100 97 nop 98 FUNCTION_END(halt) 101 99 102 jump_to_kernel: 100 FUNCTION_BEGIN(jump_to_kernel) 103 101 /* 104 102 * Guarantee cache coherence: … … 133 131 jmp %o3 134 132 nop 133 FUNCTION_END(jump_to_kernel) 135 134 136 135 # Flush I-cache … … 158 157 #endif /* PROCESSOR_us || PROCESSOR_us3 */ 159 158 160 .global ofw 161 ofw: 159 FUNCTION_BEGIN(ofw) 162 160 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp 163 161 set ofw_cif, %l0 … … 175 173 ret 176 174 restore %o0, 0, %o0 175 FUNCTION_END(ofw)
Note:
See TracChangeset
for help on using the changeset viewer.