Rev 229 | Rev 277 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 229 | Rev 231 | ||
---|---|---|---|
Line 108... | Line 108... | ||
108 | { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } |
108 | { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } |
109 | }; |
109 | }; |
110 | 110 | ||
111 | struct idescriptor idt[IDT_ITEMS]; |
111 | struct idescriptor idt[IDT_ITEMS]; |
112 | 112 | ||
113 | struct ptr_16_64 gdtr = {.limit = sizeof(gdt), .base= (__u64) &gdt }; |
113 | struct ptr_16_64 gdtr = {.limit = sizeof(gdt), .base= (__u64) gdt }; |
114 | struct ptr_16_64 idtr = {.limit = sizeof(idt), .base= (__u64) &idt }; |
114 | struct ptr_16_64 idtr = {.limit = sizeof(idt), .base= (__u64) idt }; |
115 | 115 | ||
116 | static struct tss tss; |
116 | static struct tss tss; |
117 | struct tss *tss_p = NULL; |
117 | struct tss *tss_p = NULL; |
118 | 118 | ||
119 | /* TODO: Does not compile correctly if it does not exist ???? */ |
119 | /* TODO: Does not compile correctly if it does not exist ???? */ |