nova: fix utcb layout for 32bit

Makes virtualbox as 32bit VMM working
This commit is contained in:
Alexander Boettcher 2014-02-04 19:57:58 +01:00 committed by Christian Helmuth
parent dd95266235
commit f69b206593

View File

@ -463,7 +463,7 @@ namespace Nova {
unsigned short sel, ar;
unsigned limit;
mword_t base;
#ifdef __x86_32__
#ifndef __x86_64__
mword_t reserved;
#endif
} es, cs, ss, ds, fs, gs, ldtr, tr;
@ -471,7 +471,7 @@ namespace Nova {
unsigned reserved0;
unsigned limit;
mword_t base;
#ifdef __x86_32__
#ifndef __x86_64__
mword_t reserved1;
#endif
} gdtr, idtr;