mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
- Move ARM3's init.c to i386-specific directory.
svn path=/trunk/; revision=41980
This commit is contained in:
parent
dc3d103e78
commit
5ca7892171
2 changed files with 13 additions and 4 deletions
|
@ -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;
|
||||
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue