- Merge from trunk up to r45543
[reactos.git] / boot / freeldr / freeldr / arch / i386 / loader.c
index 07ca9d8..70ad27f 100644 (file)
@@ -28,10 +28,9 @@ extern PAGE_DIRECTORY_X86 startup_pagedirectory;
 extern PAGE_DIRECTORY_X86 lowmem_pagetable;
 extern PAGE_DIRECTORY_X86 kernel_pagetable;
 extern PAGE_DIRECTORY_X86 apic_pagetable;
-extern PAGE_DIRECTORY_X86 kpcr_pagetable;
-extern PAGE_DIRECTORY_X86 kuser_pagetable;
 extern ULONG_PTR KernelBase;
 extern ROS_KERNEL_ENTRY_POINT KernelEntryPoint;
+
 /* FUNCTIONS *****************************************************************/
 
 /*++
@@ -97,7 +96,7 @@ FrLdrSetupPae(ULONG Magic)
     __writecr0(__readcr0() | CR0_PG | CR0_WP);
 
     /* Jump to Kernel */
-    (*KernelEntryPoint)(Magic, &LoaderBlock);
+    (*KernelEntryPoint)(&LoaderBlock);
 }
 
 /*++