- Fix IDT and GDT limits to values advised by Alex.

- Problem noticed by Henning Schild

svn path=/trunk/; revision=33007
This commit is contained in:
Ged Murphy 2008-04-17 19:08:26 +00:00
parent bb681bcfac
commit 4f36e40468
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ KGDTENTRY KiBootGdt[256] =
};
/* GDT Descriptor */
KDESCRIPTOR KiGdtDescriptor = {0, sizeof(KiBootGdt), (ULONG)KiBootGdt};
KDESCRIPTOR KiGdtDescriptor = {0, sizeof(KiBootGdt) - 1, (ULONG)KiBootGdt};
/* CPU Features and Flags */
ULONG KeI386CpuType;

View file

@ -81,7 +81,7 @@ GENERATE_IDT_STUBS /* INT 30-FF: UNEXPECTED INTERRUPTS */
.globl _KiIdtDescriptor
_KiIdtDescriptor:
.short 0
.short 0x800
.short 0x7FF
.long _KiIdt
.globl _KiUnexpectedEntrySize