Fix a small bug in the GDT sections that can cause a halt in the kernel..
This commit is contained in:
parent
f0ca9de14b
commit
f980acc136
|
@ -780,7 +780,7 @@ void InstallGDT() {
|
||||||
uint16_t TSSBase1 = (uint16_t)TSS64Address;
|
uint16_t TSSBase1 = (uint16_t)TSS64Address;
|
||||||
uint8_t TSSBase2 = (uint8_t)(TSS64Address >> 16);
|
uint8_t TSSBase2 = (uint8_t)(TSS64Address >> 16);
|
||||||
uint8_t TSSBase3 = (uint8_t)(TSS64Address >> 24);
|
uint8_t TSSBase3 = (uint8_t)(TSS64Address >> 24);
|
||||||
uint32_t TSSBase4 = (uint8_t)(TSS64Address >> 32);
|
uint32_t TSSBase4 = (uint32_t)(TSS64Address >> 32);
|
||||||
|
|
||||||
GDTData.Limit = sizeof(InitialGDT) - 1;
|
GDTData.Limit = sizeof(InitialGDT) - 1;
|
||||||
GDTData.BaseAddress = (size_t)InitialGDT;
|
GDTData.BaseAddress = (size_t)InitialGDT;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user