mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Pass pointer to debugprint function to the kernel in LoaderBlock->u.I386.CommonDataArea
- comment out __lldt svn path=/branches/ros-amd64-bringup/; revision=43757
This commit is contained in:
@@ -46,7 +46,7 @@ void WinLdrSetupForNt(PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
ULONG_PTR Tss = 0;
|
||||
ULONG BlockSize, NumPages;
|
||||
|
||||
LoaderBlock->u.I386.CommonDataArea = NULL; // Force No ABIOS support
|
||||
LoaderBlock->u.I386.CommonDataArea = (PVOID)DbgPrint; // HACK
|
||||
LoaderBlock->u.I386.MachineType = MACHINE_TYPE_ISA;
|
||||
|
||||
/* Allocate 2 pages for PCR */
|
||||
|
||||
@@ -342,7 +342,7 @@ WinLdrSetProcessorContext(PVOID GdtIdt, IN ULONG64 Pcr, IN ULONG64 Tss)
|
||||
WinLdrSetupIdt((PVOID)((ULONG64)GdtIdt + 2048)); // HACK!
|
||||
|
||||
/* LDT is unused */
|
||||
__lldt(0);
|
||||
// __lldt(0);
|
||||
|
||||
/* Load selectors for DS/ES/FS/GS/SS */
|
||||
Ke386SetDs(KGDT_64_DATA | RPL_MASK); // 0x2b
|
||||
|
||||
Reference in New Issue
Block a user