mirror of
https://github.com/reactos/reactos.git
synced 2024-07-19 02:46:17 +00:00
- 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:
parent
bb681bcfac
commit
4f36e40468
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue