- Fix freeldr build

svn path=/trunk/; revision=35435
This commit is contained in:
Stefan Ginsberg
2008-08-18 17:38:38 +00:00
parent eccf1ea8b5
commit 290c90788a
2 changed files with 2 additions and 1 deletions
@@ -96,7 +96,7 @@ FrLdrSetupPae(ULONG Magic)
__writecr3(PageDirectoryBaseAddress);
/* Enable Paging and Write Protect*/
__writecr0(__readcr0() | X86_CR0_PG | X86_CR0_WP);
__writecr0(__readcr0() | CR0_PG | CR0_WP);
/* Jump to Kernel */
(*KernelEntryPoint)(Magic, &LoaderBlock);
@@ -47,6 +47,7 @@
#include <video.h>
#include <ramdisk.h>
/* NDK, needed for ReactOS/Windows loaders */
#include <ndk/asm.h>
#include <ndk/rtlfuncs.h>
#include <ndk/ldrtypes.h>
#include <reactos.h>