Changes in kernel/arch/ia64/include/interrupt.h [7a0359b:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/interrupt.h
r7a0359b rd99c1d2 38 38 #include <typedefs.h> 39 39 #include <arch/register.h> 40 #include <trace.h>41 40 42 41 /** ia64 has 256 INRs. */ … … 134 133 } istate_t; 135 134 136 extern void *ivt; 137 138 NO_TRACE static inline void istate_set_retaddr(istate_t *istate, 139 uintptr_t retaddr) 135 static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr) 140 136 { 141 137 istate->cr_iip = retaddr; … … 143 139 } 144 140 145 NO_TRACEstatic inline unative_t istate_get_pc(istate_t *istate)141 static inline unative_t istate_get_pc(istate_t *istate) 146 142 { 147 143 return istate->cr_iip; 148 144 } 149 145 150 NO_TRACEstatic inline unative_t istate_get_fp(istate_t *istate)146 static inline unative_t istate_get_fp(istate_t *istate) 151 147 { 152 /* FIXME */ 153 154 return 0; 148 return 0; /* FIXME */ 155 149 } 156 150 157 NO_TRACEstatic inline int istate_from_uspace(istate_t *istate)151 static inline int istate_from_uspace(istate_t *istate) 158 152 { 159 153 return (istate->cr_iip) < 0xe000000000000000ULL; 160 154 } 161 155 162 extern void general_exception(uint64_t, istate_t *); 163 extern int break_instruction(uint64_t, istate_t *); 164 extern void universal_handler(uint64_t, istate_t *); 165 extern void nop_handler(uint64_t, istate_t *); 166 extern void external_interrupt(uint64_t, istate_t *); 167 extern void disabled_fp_register(uint64_t, istate_t *); 156 extern void *ivt; 168 157 169 extern void trap_virtual_enable_irqs(uint16_t); 158 extern void general_exception(uint64_t vector, istate_t *istate); 159 extern int break_instruction(uint64_t vector, istate_t *istate); 160 extern void universal_handler(uint64_t vector, istate_t *istate); 161 extern void nop_handler(uint64_t vector, istate_t *istate); 162 extern void external_interrupt(uint64_t vector, istate_t *istate); 163 extern void disabled_fp_register(uint64_t vector, istate_t *istate); 164 165 extern void trap_virtual_enable_irqs(uint16_t irqmask); 170 166 171 167 #endif
Note:
See TracChangeset
for help on using the changeset viewer.