Home
last modified time | relevance | path

Searched refs:gSystemMemory (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DHost.c53 EMU_SYSTEM_MEMORY *gSystemMemory; variable
179 gSystemMemory = AllocateZeroPool (gSystemMemoryCount * sizeof (EMU_SYSTEM_MEMORY)); in main()
180 if (gSystemMemory == NULL) { in main()
312 gSystemMemory[Index++].Size = val * 0x100000; in main()
648 0, gSystemMemory[Index].Size, in SecUnixPeiAutoScan()
655 *MemorySize = gSystemMemory[Index].Size; in SecUnixPeiAutoScan()
657 gSystemMemory[Index].Memory = *MemoryBase; in SecUnixPeiAutoScan()
692 if ((MemoryBase >= gSystemMemory[Index].Memory) && in EfiSystemMemoryRange()
693 (MemoryBase < (gSystemMemory[Index].Memory + gSystemMemory[Index].Size)) ) { in EfiSystemMemoryRange()
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/
DSecMain.c99 NT_SYSTEM_MEMORY *gSystemMemory; variable
231 gSystemMemory = calloc (gSystemMemoryCount, sizeof (NT_SYSTEM_MEMORY)); in main()
232 if (gSystemMemory == NULL) { in main()
338 gSystemMemory[Index].Size = _wtoi (MemorySizeStr) * 0x100000; in main()
727gSystemMemory[Index].Memory = (EFI_PHYSICAL_ADDRESS) (UINTN) VirtualAlloc (NULL, (SIZE_T) (gSystem… in SecWinNtPeiAutoScan()
728 if (gSystemMemory[Index].Memory == 0) { in SecWinNtPeiAutoScan()
732 *MemoryBase = gSystemMemory[Index].Memory; in SecWinNtPeiAutoScan()
733 *MemorySize = gSystemMemory[Index].Size; in SecWinNtPeiAutoScan()