kernel/arch/x86/include/asm/desc_defs.h
.. .. @@ -74,6 +74,13 @@ 74 74 p : 1; 75 75 } __attribute__((packed)); 76 76 77 +struct idt_data {78 + unsigned int vector;79 + unsigned int segment;80 + struct idt_bits bits;81 + const void *addr;82 +};83 +77 84 struct gate_struct { 78 85 u16 offset_low; 79 86 u16 segment; .. .. @@ -109,6 +116,9 @@ 109 116 110 117 #endif /* !__ASSEMBLY__ */ 111 118 119 +/* Boot IDT definitions */120 +#define BOOT_IDT_ENTRIES 32121 +112 122 /* Access rights as returned by LAR */ 113 123 #define AR_TYPE_RODATA (0 * (1 << 9)) 114 124 #define AR_TYPE_RWDATA (1 * (1 << 9))