]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Include/Ppi/EmuThunk.h
EmulatorPkg: Add persistent memory in EmuThunkPpi
[mirror_edk2.git] / EmulatorPkg / Include / Ppi / EmuThunk.h
index c0e2bc6b982bb2b3d95e4034880fa913a403f6b7..cf29cf824c588ead9a453c84cd41dc69995d4b75 100644 (file)
@@ -2,7 +2,7 @@
   Emulator Thunk to abstract OS services from pure EFI code\r
 \r
   Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR>\r
-\r
+  Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -107,6 +107,8 @@ typedef struct {
   EMU_PEI_AUTOSCAN           MemoryAutoScan;\r
   EMU_PEI_FD_INFORMATION     FirmwareDevices;\r
   EMU_PEI_THUNK_INTERFACE    Thunk;\r
+  UINTN                      PersistentMemorySize;\r
+  UINT8                      PersistentMemory[0];\r
 } EMU_THUNK_PPI;\r
 \r
 extern EFI_GUID  gEmuThunkPpiGuid;\r