Ignore:
Timestamp:
2008-09-20T15:09:41Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0dd0f71f
Parents:
2e3355a
Message:

Populate all sparc64 trap table slots belonging to trap_instruction_n.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/trap/syscall.h

    r2e3355a r3b8fe85  
    3232/**
    3333 * @file
    34  * @brief This file contains the trap_instruction handler.
    35  *
    36  * The trap_instruction trap is used to implement syscalls.
     34 * @brief
    3735 */
    3836
     
    4038#define KERN_sparc64_SYSCALL_TRAP_H_
    4139
    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
    5341
    5442#endif
Note: See TracChangeset for help on using the changeset viewer.