Ignore:
Timestamp:
2006-10-18T20:51:15Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80ca47e
Parents:
cd13c2a
Message:

Convert ia64 to the new IRQ and notification scheme.

File:
1 edited

Legend:

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

    rcd13c2a rde57e060  
    4040#include <arch/register.h>
    4141
    42 #define IRQ_COUNT               257 /* 256 NOT suppotred IRQS*//* TODO */
    43 #define IRQ_KBD                 256 /* One simulated interrupt for ski simulator keyboard*/
     42/** ia64 has 256 INRs. */
     43#define INR_COUNT       256
     44
     45/*
     46 * We need to keep this just to compile.
     47 * We might eventually move interrupt/ stuff
     48 * to genarch.
     49 */
     50#define IVT_ITEMS       0
     51#define IVT_FIRST       0
    4452
    4553/** External Interrupt vectors. */
     
    127135static inline int istate_from_uspace(istate_t *istate)
    128136{
    129         return (istate->cr_iip)<0xe000000000000000ULL;
     137        return (istate->cr_iip) < 0xe000000000000000ULL;
    130138}
    131139
     
    137145extern void nop_handler(uint64_t vector, istate_t *istate);
    138146extern void external_interrupt(uint64_t vector, istate_t *istate);
    139 extern void virtual_interrupt(uint64_t irq, void *param);
    140147extern void disabled_fp_register(uint64_t vector, istate_t *istate);
    141148
Note: See TracChangeset for help on using the changeset viewer.