Author: tkreuzer Date: Sun Jul 27 21:18:46 2008 New Revision: 34888
URL: http://svn.reactos.org/svn/reactos?rev=34888&view=rev Log: Now after loading all the drivers we come to where we setup the page directory. This is good, but I'm too tired to look into this now....
Modified: branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/include/freeldr.h
Modified: branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/include/freeldr.h URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/boot/f... ============================================================================== --- branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] Sun Jul 27 21:18:46 2008 @@ -107,6 +107,10 @@ #define Ke386EraseFlags(x) __asm__ __volatile__("pushl $0 ; popfl\n") #endif
+#ifdef _M_AMD64 +#define KeAmd64EraseFlags(x) __asm__ __volatile__("pushq $0 ; popfq\n") +#endif + VOID BootMain(LPSTR CmdLine); VOID RunLoader(VOID);