Author: sginsberg Date: Mon Aug 18 12:38:38 2008 New Revision: 35435
URL: http://svn.reactos.org/svn/reactos?rev=35435&view=rev Log: - Fix freeldr build
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c trunk/reactos/boot/freeldr/freeldr/include/freeldr.h
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c [iso-8859-1] Mon Aug 18 12:38:38 2008 @@ -96,7 +96,7 @@ __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);
Modified: trunk/reactos/boot/freeldr/freeldr/include/freeldr.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/includ... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] Mon Aug 18 12:38:38 2008 @@ -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>