Ignore:
File:
1 edited

Legend:

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

    r5bda2f3e r6da1013f  
    4040
    4141/** ia64 has 256 INRs. */
    42 #define INR_COUNT  256
     42#define INR_COUNT       256
    4343
    4444/*
     
    4747 * to genarch.
    4848 */
    49 #define IVT_ITEMS  0
    50 #define IVT_FIRST  0
     49#define IVT_ITEMS       0
     50#define IVT_FIRST       0
    5151
    5252/** External Interrupt vectors. */
    5353
    54 #define VECTOR_TLB_SHOOTDOWN_IPI  0xf0
    55 
    56 #define INTERRUPT_SPURIOUS  15
    57 #define INTERRUPT_TIMER     255
    58 
    59 #define LEGACY_INTERRUPT_BASE  0x20
    60 
    61 #define IRQ_KBD    (0x01 + LEGACY_INTERRUPT_BASE)
    62 #define IRQ_MOUSE  (0x0c + LEGACY_INTERRUPT_BASE)
     54#define VECTOR_TLB_SHOOTDOWN_IPI 0xf0
     55#define INTERRUPT_TIMER         255
     56#define IRQ_KBD                 (0x01 + LEGACY_INTERRUPT_BASE)
     57#define IRQ_MOUSE               (0x0c + LEGACY_INTERRUPT_BASE)
     58#define INTERRUPT_SPURIOUS      15
     59#define LEGACY_INTERRUPT_BASE   0x20
    6360
    6461/** General Exception codes. */
    65 #define GE_ILLEGALOP     0
    66 #define GE_PRIVOP        1
    67 #define GE_PRIVREG       2
    68 #define GE_RESREGFLD     3
    69 #define GE_DISBLDISTRAN  4
    70 #define GE_ILLEGALDEP    8
     62#define GE_ILLEGALOP            0
     63#define GE_PRIVOP               1
     64#define GE_PRIVREG              2
     65#define GE_RESREGFLD            3
     66#define GE_DISBLDISTRAN         4
     67#define GE_ILLEGALDEP           8
    7168
    72 #define EOI  0  /**< The actual value doesn't matter. */
     69#define EOI     0               /**< The actual value doesn't matter. */
    7370
    7471typedef struct {
     
    103100        uint128_t f30;
    104101        uint128_t f31;
    105        
     102               
    106103        uintptr_t ar_bsp;
    107104        uintptr_t ar_bspstore;
     
    135132{
    136133        istate->cr_iip = retaddr;
    137         istate->cr_ipsr.ri = 0;    /* return to instruction slot #0 */
     134        istate->cr_ipsr.ri = 0;         /* return to instruction slot #0 */
    138135}
    139136
Note: See TracChangeset for help on using the changeset viewer.