Changeset 58775d30 in mainline for kernel/arch/sparc64/include/arch/trap/trap_table.h
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2003739
- Parents:
- 6069061 (diff), 795e2bf (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
-
kernel/arch/sparc64/include/arch/trap/trap_table.h
r6069061 r58775d30 43 43 #define TRAP_TABLE_SIZE (TRAP_TABLE_ENTRY_COUNT * TRAP_TABLE_ENTRY_SIZE) 44 44 45 #define ISTATE_END_OFFSET(o) ((o) - ISTATE_SIZE)46 47 /*48 * The one STACK_ITEM_SIZE is counted for space holding the 7th49 * argument to syscall_handler (i.e. syscall number) and the other50 * STACK_ITEM_SIZE is counted because of the required alignment.51 */52 #define PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE \53 (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE + \54 (2 * STACK_ITEM_SIZE) + (ISTATE_SIZE + 9 * 8))55 /* <-- istate_t ends here */56 #define SAVED_TSTATE ISTATE_END_OFFSET(ISTATE_OFFSET_TSTATE)57 #define SAVED_TPC ISTATE_END_OFFSET(ISTATE_OFFSET_TPC)58 #define SAVED_TNPC ISTATE_END_OFFSET(ISTATE_OFFSET_TNPC)59 /* <-- istate_t begins here */60 #define SAVED_Y -(1 * 8 + ISTATE_SIZE)61 #define SAVED_I0 -(2 * 8 + ISTATE_SIZE)62 #define SAVED_I1 -(3 * 8 + ISTATE_SIZE)63 #define SAVED_I2 -(4 * 8 + ISTATE_SIZE)64 #define SAVED_I3 -(5 * 8 + ISTATE_SIZE)65 #define SAVED_I4 -(6 * 8 + ISTATE_SIZE)66 #define SAVED_I5 -(7 * 8 + ISTATE_SIZE)67 #define SAVED_I6 -(8 * 8 + ISTATE_SIZE)68 #define SAVED_I7 -(9 * 8 + ISTATE_SIZE)69 70 45 #ifndef __ASM__ 71 46 … … 80 55 extern trap_table_entry_t trap_table[TRAP_TABLE_ENTRY_COUNT]; 81 56 extern trap_table_entry_t trap_table_save[TRAP_TABLE_ENTRY_COUNT]; 57 82 58 #endif /* !__ASM__ */ 83 59
Note:
See TracChangeset
for help on using the changeset viewer.