Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/interrupt.h

    r7a0359b rd99c1d2  
    3838#include <typedefs.h>
    3939#include <arch/register.h>
    40 #include <trace.h>
    4140
    4241/** ia64 has 256 INRs. */
     
    134133} istate_t;
    135134
    136 extern void *ivt;
    137 
    138 NO_TRACE static inline void istate_set_retaddr(istate_t *istate,
    139     uintptr_t retaddr)
     135static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr)
    140136{
    141137        istate->cr_iip = retaddr;
     
    143139}
    144140
    145 NO_TRACE static inline unative_t istate_get_pc(istate_t *istate)
     141static inline unative_t istate_get_pc(istate_t *istate)
    146142{
    147143        return istate->cr_iip;
    148144}
    149145
    150 NO_TRACE static inline unative_t istate_get_fp(istate_t *istate)
     146static inline unative_t istate_get_fp(istate_t *istate)
    151147{
    152         /* FIXME */
    153        
    154         return 0;
     148        return 0;       /* FIXME */
    155149}
    156150
    157 NO_TRACE static inline int istate_from_uspace(istate_t *istate)
     151static inline int istate_from_uspace(istate_t *istate)
    158152{
    159153        return (istate->cr_iip) < 0xe000000000000000ULL;
    160154}
    161155
    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 *);
     156extern void *ivt;
    168157
    169 extern void trap_virtual_enable_irqs(uint16_t);
     158extern void general_exception(uint64_t vector, istate_t *istate);
     159extern int break_instruction(uint64_t vector, istate_t *istate);
     160extern void universal_handler(uint64_t vector, istate_t *istate);
     161extern void nop_handler(uint64_t vector, istate_t *istate);
     162extern void external_interrupt(uint64_t vector, istate_t *istate);
     163extern void disabled_fp_register(uint64_t vector, istate_t *istate);
     164
     165extern void trap_virtual_enable_irqs(uint16_t irqmask);
    170166
    171167#endif
Note: See TracChangeset for help on using the changeset viewer.