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