/kernel/trunk/arch/sparc64/include/trap/trap_table.h |
---|
47,7 → 47,7 |
#ifndef __ASM__ |
struct trap_table_entry { |
__u8 octets[TRAP_TABLE_ENTRY_SIZE]; |
uint8_t octets[TRAP_TABLE_ENTRY_SIZE]; |
} __attribute__ ((packed)); |
typedef struct trap_table_entry trap_table_entry_t; |
/kernel/trunk/arch/sparc64/include/trap/trap.h |
---|
42,7 → 42,7 |
static inline void trap_switch_trap_table(void) |
{ |
/* Point TBA to kernel copy of OFW's trap table. */ |
tba_write((__u64) trap_table); |
tba_write((uint64_t) trap_table); |
} |
extern void trap_init(void); |