diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-30 01:00:23 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-30 01:00:23 +0200 |
commit | f292a4c38923278ab69bfaccbc67e0ad6b13484d (patch) | |
tree | 19f59e4a7f7702550f41fa8e555ccfabf4741ff8 /x86_64 | |
parent | 95b940e89657cb25e01098cde1999ac3d7cd7053 (diff) | |
download | gnumach-f292a4c38923278ab69bfaccbc67e0ad6b13484d.tar.gz gnumach-f292a4c38923278ab69bfaccbc67e0ad6b13484d.tar.bz2 gnumach-f292a4c38923278ab69bfaccbc67e0ad6b13484d.zip |
Fix 64bit xen build
Diffstat (limited to 'x86_64')
-rw-r--r-- | x86_64/idt_inittab.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x86_64/idt_inittab.S b/x86_64/idt_inittab.S index fc1df0c7..3a205ae4 100644 --- a/x86_64/idt_inittab.S +++ b/x86_64/idt_inittab.S @@ -41,12 +41,13 @@ ENTRY(idt_inittab) * Interrupt descriptor table and code vectors for it. */ #ifdef MACH_PV_DESCRIPTORS -#define IDT_ENTRY(n,entry,type) \ +#define IDT_ENTRY(n,entry,type,ist) \ .data 2 ;\ .byte n ;\ .byte (((type)&ACC_PL)>>5)|((((type)&(ACC_TYPE|ACC_A))==ACC_INTR_GATE)<<2) ;\ .word FLAT_KERNEL_CS ;\ - .long 0 /*pad*/ ;\ + .word ist ;\ + .word 0 /*pad*/ ;\ .quad entry ;\ .text #else /* MACH_PV_DESCRIPTORS */ |