mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
- Fix freeldr build
svn path=/trunk/; revision=35435
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user