Changeset 7614565 in mainline for arch/sparc64/src
- Timestamp:
- 2005-12-27T21:40:02Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- feb5915
- Parents:
- 1120276
- Location:
- arch/sparc64/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/src/context.S
r1120276 r7614565 62 62 stx %l6, [\r + OFFSET_L6] 63 63 stx %l7, [\r + OFFSET_L7] 64 rdpr %cleanwin, %g1 65 stx %g1, [\r + OFFSET_CLEANWIN] 64 66 .endm 65 67 … … 83 85 ldx [\r + OFFSET_L6], %l6 84 86 ldx [\r + OFFSET_L7], %l7 87 ldx [\r + OFFSET_CLEANWIN], %g1 88 wrpr %g1, %g0, %cleanwin 85 89 .endm 86 90 -
arch/sparc64/src/panic.S
r1120276 r7614565 29 29 .text 30 30 31 #include <arch/stack.h> 32 31 33 .global panic_printf 32 34 panic_printf: 35 save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp 33 36 call printf 34 37 nop … … 36 39 nop 37 40 /* Not reached. */ 41 restore 42 -
arch/sparc64/src/trap/trap_table.S
r1120276 r7614565 38 38 * link-time addresses which is good for debugging. 39 39 */ 40 40 41 .register %g2, #scratch 42 .register %g3, #scratch 43 .register %g6, #scratch 44 .register %g7, #scratch 45 41 46 .text 42 47 … … 203 208 trap_table_save: 204 209 .space TABLE_SIZE, 0 210 211 212 /* Trap handler that explicitly saves global registers. 213 * 214 * Input registers: 215 * %l0 Address of function to call. 216 * Output registers: 217 * %l1 - %l7 Copy of %g1 - %g7 218 */ 219 .global saving_handler 220 saving_handler: 221 SAVE_GLOBALS 222 call %l0 223 nop 224 RESTORE_GLOBALS 225 restore /* matches the save instruction from the top-level handler */ 226 retry
Note:
See TracChangeset
for help on using the changeset viewer.
