50 USHORT ConventionalMemory, ExtendedMemory;
51 ULONG ExtendedMemory16;
53 TRACE(
"Pc98MemGetMemoryMap()\n");
63 ConventionalMemory = 640;
65 TRACE(
"Total conventional memory %d kB available.\n", ConventionalMemory);
66 TRACE(
"Total extended memory %d kB available.\n", ExtendedMemory);
67 TRACE(
"Total extended high memory %d kB available.\n", ExtendedMemory16);
68 TRACE(
"Installed physical memory %d kB.\n", ConventionalMemory + ExtendedMemory + ExtendedMemory16);
BIOS_MEMORY_MAP MemoryMap[32]
#define DBG_DEFAULT_CHANNEL(ch)
_Must_inspect_result_ _In_ USAGE _In_ USHORT _In_ USAGE Usage
#define MEM_EXPMMSZ16M_HIGH
#define MEM_EXPMMSZ16M_LOW
#define CONVENTIONAL_MEMORY_SIZE
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
ULONG PcMemFinalizeMemoryMap(PFREELDR_MEMORY_DESCRIPTOR MemoryMap)
PFREELDR_MEMORY_DESCRIPTOR Pc98MemGetMemoryMap(ULONG *MemoryMapSize)
static FREELDR_MEMORY_DESCRIPTOR Pc98MemoryMap[MAX_BIOS_DESCRIPTORS+1]
VOID ReserveMemory(PFREELDR_MEMORY_DESCRIPTOR MemoryMap, ULONG_PTR BaseAddress, SIZE_T Size, TYPE_OF_MEMORY MemoryType, PCHAR Usage)
VOID SetMemory(PFREELDR_MEMORY_DESCRIPTOR MemoryMap, ULONG_PTR BaseAddress, SIZE_T Size, TYPE_OF_MEMORY MemoryType)
#define MAX_BIOS_DESCRIPTORS
BIOS_MEMORY_MAP PcBiosMemoryMap[MAX_BIOS_DESCRIPTORS]
@ LoaderFirmwarePermanent
enum _TYPE_OF_MEMORY TYPE_OF_MEMORY
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size