mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user