Rev 1703 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1703 | Rev 1780 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | 40 | ||
41 | /** Switch to in-kernel trap table. */ |
41 | /** Switch to in-kernel trap table. */ |
42 | static inline void trap_switch_trap_table(void) |
42 | static inline void trap_switch_trap_table(void) |
43 | { |
43 | { |
44 | /* Point TBA to kernel copy of OFW's trap table. */ |
44 | /* Point TBA to kernel copy of OFW's trap table. */ |
45 | tba_write((__u64) trap_table); |
45 | tba_write((uint64_t) trap_table); |
46 | } |
46 | } |
47 | 47 | ||
48 | extern void trap_init(void); |
48 | extern void trap_init(void); |
49 | 49 | ||
50 | #endif |
50 | #endif |