Ignore:
File:
1 edited

Legend:

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

    rd99c1d2 r1f7cb3a  
    3636#define KERN_amd64_INTERRUPT_H_
    3737
    38 #include <typedefs.h>
     38#include <arch/types.h>
    3939#include <arch/pm.h>
    4040
     
    5454#define IRQ_PIC_SPUR            7
    5555#define IRQ_MOUSE               12
    56 #define IRQ_DP8390              9
    5756
    5857/* this one must have four least significant bits set to ones */
     
    7170
    7271/** This is passed to interrupt handlers */
    73 typedef struct istate {
     72typedef struct {
    7473        uint64_t rax;
    7574        uint64_t rcx;
     
    8180        uint64_t r10;
    8281        uint64_t r11;
    83         uint64_t rbp;
    8482        uint64_t error_word;
    8583        uint64_t rip;
     
    103101        return istate->rip;
    104102}
    105 static inline unative_t istate_get_fp(istate_t *istate)
    106 {
    107         return istate->rbp;
    108 }
    109103
    110104extern void (* disable_irqs_function)(uint16_t irqmask);
Note: See TracChangeset for help on using the changeset viewer.