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/…
==============================================================================
--- 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);
Author: ros-arm-bringup
Date: Sun Jul 27 21:13:56 2008
New Revision: 34885
URL: http://svn.reactos.org/svn/reactos?rev=34885&view=rev
Log:
- Fix the NTOS ARM build after the recent Mm changes.
Modified:
trunk/reactos/ntoskrnl/mm/arm/stubs.c
Modified: trunk/reactos/ntoskrnl/mm/arm/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/arm/stubs.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/arm/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/arm/stubs.c [iso-8859-1] Sun Jul 27 21:13:56 2008
@@ -301,7 +301,8 @@
//
// Initialize the Addresss Space
//
- MmInitializeAddressSpace(Process, (PMADDRESS_SPACE)&Process->VadRoot);
+ KeInitializeGuardedMutex(&Process->AddressCreationLock);
+ Process->VadRoot.BalancedRoot.u1.Parent = NULL;
//
// The process now has an address space
Author: ros-arm-bringup
Date: Sun Jul 27 21:13:39 2008
New Revision: 34884
URL: http://svn.reactos.org/svn/reactos?rev=34884&view=rev
Log:
- We finally figured out how to build the CRT! It seems on ARM, we have to add __MSVCRT__ to all build targets.
- Thanks to the people who worked on the PPC port for making this obvious in the rbuild file :)
Modified:
trunk/reactos/ReactOS-arm.rbuild
Modified: trunk/reactos/ReactOS-arm.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-arm.rbuild?rev=348…
==============================================================================
--- trunk/reactos/ReactOS-arm.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ReactOS-arm.rbuild [iso-8859-1] Sun Jul 27 21:13:39 2008
@@ -65,6 +65,7 @@
<compilerflag>-O3</compilerflag>
</if>
+ <define name="__MSVCRT__"/>
<compilerflag>-Wno-attributes</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<linkerflag>-s</linkerflag>