Changes in kernel/arch/amd64/include/interrupt.h [d99c1d2:1f7cb3a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/interrupt.h
rd99c1d2 r1f7cb3a 36 36 #define KERN_amd64_INTERRUPT_H_ 37 37 38 #include < typedefs.h>38 #include <arch/types.h> 39 39 #include <arch/pm.h> 40 40 … … 54 54 #define IRQ_PIC_SPUR 7 55 55 #define IRQ_MOUSE 12 56 #define IRQ_DP8390 957 56 58 57 /* this one must have four least significant bits set to ones */ … … 71 70 72 71 /** This is passed to interrupt handlers */ 73 typedef struct istate{72 typedef struct { 74 73 uint64_t rax; 75 74 uint64_t rcx; … … 81 80 uint64_t r10; 82 81 uint64_t r11; 83 uint64_t rbp;84 82 uint64_t error_word; 85 83 uint64_t rip; … … 103 101 return istate->rip; 104 102 } 105 static inline unative_t istate_get_fp(istate_t *istate)106 {107 return istate->rbp;108 }109 103 110 104 extern void (* disable_irqs_function)(uint16_t irqmask);
Note:
See TracChangeset
for help on using the changeset viewer.