xref: /reactos/ntoskrnl/mm/ARM3/arm/init.c (revision 5c7ce447)
1 /*
2  * PROJECT:         ReactOS Kernel
3  * LICENSE:         BSD - See COPYING.ARM in the top level directory
4  * FILE:            ntoskrnl/mm/ARM3/arm/init.c
5  * PURPOSE:         ARM Memory Manager Initialization
6  * PROGRAMMERS:     ReactOS Portable Systems Group
7  */
8 
9 /* INCLUDES *******************************************************************/
10 
11 #include <ntoskrnl.h>
12 #define NDEBUG
13 #include <debug.h>
14 
15 #define MODULE_INVOLVED_IN_ARM3
16 #include <mm/ARM3/miarm.h>
17 
18 /* GLOBALS ********************************************************************/
19 
20 ULONG MmMaximumNonPagedPoolPercent;
21 ULONG MmSizeOfNonPagedPoolInBytes;
22 ULONG MmMaximumNonPagedPoolInBytes;
23 PVOID MmNonPagedSystemStart;
24 PVOID MmNonPagedPoolStart;
25 PVOID MmNonPagedPoolExpansionStart;
26 PVOID MmPagedPoolEnd;
27 PVOID MiSessionSpaceEnd;
28 PVOID MiSessionImageEnd;
29 PVOID MiSessionImageStart;
30 PVOID MiSessionViewStart;
31 PVOID MiSessionPoolEnd;
32 PVOID MiSessionPoolStart;
33 PVOID MmSessionBase;
34 ULONG MmSessionSize;
35 ULONG MmSessionViewSize;
36 ULONG MmSessionPoolSize;
37 ULONG MmSessionImageSize;
38 PVOID MiSystemViewStart;
39 ULONG MmSystemViewSize;
40 PFN_NUMBER MmSystemPageDirectory[PPE_PER_PAGE];
41 PMMPDE MmSystemPagePtes;
42 ULONG MmNumberOfSystemPtes;
43 ULONG MxPfnAllocation;
44 RTL_BITMAP MiPfnBitMap;
45 PPHYSICAL_MEMORY_DESCRIPTOR MmPhysicalMemoryBlock;
46 PMEMORY_ALLOCATION_DESCRIPTOR MxFreeDescriptor;
47 MEMORY_ALLOCATION_DESCRIPTOR MxOldFreeDescriptor;
48 ULONG MmNumberOfPhysicalPages, MmHighestPhysicalPage;
49 ULONG MmBootImageSize;
50 ULONG MmUserProbeAddress;
51 PVOID MmHighestUserAddress;
52 PVOID MmSystemRangeStart;
53 PVOID MmSystemCacheStart;
54 PVOID MmSystemCacheEnd;
55 MMSUPPORT MmSystemCacheWs;
56 PVOID MmHyperSpaceEnd;
57 
58 /* PRIVATE FUNCTIONS **********************************************************/
59 
60 CODE_SEG("INIT")
61 NTSTATUS
62 NTAPI
MiInitMachineDependent(IN PLOADER_PARAMETER_BLOCK LoaderBlock)63 MiInitMachineDependent(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
64 {
65     //
66     // Always return success for now
67     //
68     UNIMPLEMENTED_FATAL("NEVER TELL ME THE ODDS!\n");
69     return STATUS_SUCCESS;
70 }
71 
72 /* EOF */
73