+++ /dev/null
-/**@file\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-Module Name:\r
-\r
- NtAutoscan.h\r
-\r
-Abstract:\r
-\r
-Nt Autoscan PPI\r
-\r
-**/\r
-\r
-#ifndef __NT_PEI_AUTOSCAN_H__\r
-#define __NT_PEI_AUTOSCAN_H__\r
-\r
-#include <WinNtDxe.h>\r
-\r
-#define PEI_NT_AUTOSCAN_PPI_GUID \\r
- { \\r
- 0xdce384d, 0x7c, 0x4ba5, {0x94, 0xbd, 0xf, 0x6e, 0xb6, 0x4d, 0x2a, 0xa9 } \\r
- }\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *PEI_NT_AUTOSCAN) (\r
- IN UINTN Index,\r
- OUT EFI_PHYSICAL_ADDRESS * MemoryBase,\r
- OUT UINT64 *MemorySize\r
- );\r
-\r
-/*++\r
-\r
-Routine Description:\r
- This service is called from Index == 0 until it returns EFI_UNSUPPORTED.\r
- It allows discontinuous memory regions to be supported by the emulator.\r
- It uses gSystemMemory[] and gSystemMemoryCount that were created by\r
- parsing the Windows environment variable EFI_MEMORY_SIZE.\r
- The size comes from the varaible and the address comes from the call to\r
- WinNtOpenFile. \r
-\r
-Arguments:\r
- Index - Which memory region to use\r
- MemoryBase - Return Base address of memory region\r
- MemorySize - Return size in bytes of the memory region\r
-\r
-Returns:\r
- EFI_SUCCESS - If memory region was mapped\r
- EFI_UNSUPPORTED - If Index is not supported\r
-\r
---*/\r
-typedef struct {\r
- PEI_NT_AUTOSCAN NtAutoScan;\r
-} PEI_NT_AUTOSCAN_PPI;\r
-\r
-extern EFI_GUID gPeiNtAutoScanPpiGuid;\r
-\r
-#endif\r