Changeset 3b8fe85 in mainline for kernel/arch/sparc64/include/trap/syscall.h
- Timestamp:
- 2008-09-20T15:09:41Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0dd0f71f
- Parents:
- 2e3355a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/trap/syscall.h
r2e3355a r3b8fe85 32 32 /** 33 33 * @file 34 * @brief This file contains the trap_instruction handler. 35 * 36 * The trap_instruction trap is used to implement syscalls. 34 * @brief 37 35 */ 38 36 … … 40 38 #define KERN_sparc64_SYSCALL_TRAP_H_ 41 39 42 #define TT_TRAP_INSTRUCTION(n) (0x100 + (n)) 43 #define TT_TRAP_INSTRUCTION_LAST TT_TRAP_INSTRUCTION(127) 44 45 #ifdef __ASM__ 46 47 .macro TRAP_INSTRUCTION n 48 ba trap_instruction_handler 49 mov TT_TRAP_INSTRUCTION(\n) - TT_TRAP_INSTRUCTION(0), %g2 50 .endm 51 52 #endif /* __ASM__ */ 40 #define TT_TRAP_INSTRUCTION_0 0x100 53 41 54 42 #endif
Note:
See TracChangeset
for help on using the changeset viewer.