23PeimInitializeAutoScanPei (
50 DEBUG ((DEBUG_ERROR,
"Emu Autoscan PEIM Loaded\n"));
65 Status = Thunk->MemoryAutoScan (Index, &MemoryBase, &MemorySize);
66 if (!EFI_ERROR (Status)) {
69 EFI_RESOURCE_ATTRIBUTE_PRESENT |
70 EFI_RESOURCE_ATTRIBUTE_INITIALIZED |
71 EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE |
72 EFI_RESOURCE_ATTRIBUTE_WRITE_COMBINEABLE |
73 EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE |
74 EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE
84 Attributes |= EFI_RESOURCE_ATTRIBUTE_TESTED;
88 EFI_RESOURCE_SYSTEM_MEMORY,
96 }
while (!EFI_ERROR (Status));
VOID EFIAPI BuildCpuHob(IN UINT8 SizeOfMemorySpace, IN UINT8 SizeOfIoSpace)
VOID EFIAPI BuildResourceDescriptorHob(IN EFI_RESOURCE_TYPE ResourceType, IN EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute, IN EFI_PHYSICAL_ADDRESS PhysicalStart, IN UINT64 NumberOfBytes)
EFI_STATUS EFIAPI PeiServicesLocatePpi(IN CONST EFI_GUID *Guid, IN UINTN Instance, IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, IN OUT VOID **Ppi)
EFI_STATUS EFIAPI PeiServicesInstallPeiMemory(IN EFI_PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength)
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE
VOID * EFI_PEI_FILE_HANDLE
UINT64 EFI_PHYSICAL_ADDRESS