- Move ARM3's init.c to i386-specific directory.

svn path=/trunk/; revision=41980
This commit is contained in:
ReactOS Portable Systems Group 2009-07-15 17:55:13 +00:00
parent dc3d103e78
commit 5ca7892171
2 changed files with 13 additions and 4 deletions

View file

@ -14,7 +14,7 @@
#line 15 "ARM³::INIT"
#define MODULE_INVOLVED_IN_ARM3
#include "../ARM3/miarm.h"
#include "../../ARM3/miarm.h"
/* GLOBALS ********************************************************************/
@ -138,7 +138,7 @@ MiSyncARM3WithROS(IN PVOID AddressStart,
// This both odious and heinous
//
extern ULONG MmGlobalKernelPageDirectory[1024];
MmGlobalKernelPageDirectory[Pde] = ((PULONG)PAGEDIRECTORY_MAP)[Pde];
MmGlobalKernelPageDirectory[Pde] = ((PULONG)PDE_BASE)[Pde];
Pde++;
}
}
@ -302,7 +302,7 @@ MmArmInitSystem(IN ULONG Phase,
//
// Set CR3 for the system process
//
PointerPte = MiAddressToPde(PAGETABLE_MAP);
PointerPte = MiAddressToPde(PTE_BASE);
PageFrameIndex = PFN_FROM_PTE(PointerPte) << PAGE_SHIFT;
PsGetCurrentProcess()->Pcb.DirectoryTableBase[0] = PageFrameIndex;

View file

@ -360,12 +360,21 @@
</directory>
</if>
<directory name="ARM3">
<if property="ARCH" value="i386">
<directory name="i386">
<file>init.c</file>
</directory>
</if>
<if property="ARCH" value="arm">
<directory name="arm">
<file>init.c</file>
</directory>
</if>
<file>contmem.c</file>
<file>drvmgmt.c</file>
<file>dynamic.c</file>
<file>expool.c</file>
<file>hypermap.c</file>
<file>init.c</file>
<file>iosup.c</file>
<file>mdlsup.c</file>
<file>ncache.c</file>