summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/Include
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-14 16:00:22 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-14 16:00:22 +0000
commit65e3f333b3b97c8098e95ff27b3292b5c1dc31d1 (patch)
treed96ae19b9c0ba3158f12bcfde463162015862f86 /InOsEmuPkg/Include
parent960212a3e43df72f26f17cb12d9c6bf149440a05 (diff)
downloadedk2-platforms-65e3f333b3b97c8098e95ff27b3292b5c1dc31d1.tar.xz
Added generic EFIABI SEC to InOsEmuPkg. Add library to abstract FV cracking and remove code from original Sec/OS App. Add a PeiServicesLib wrapper for SEC that uses passed in PEI list and can abstract FV reading. Don't load images for XIP code and just run from FV directly on Mac OS X, or from dlopen on Linux. Moved temp ram switch code into generic SEC. Fixed design issue with PeiServiceTablePointerLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11646 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/Include')
-rw-r--r--InOsEmuPkg/Include/Library/PpiListLib.h21
-rw-r--r--InOsEmuPkg/Include/Ppi/EmuPeiServicesTableUpdate.h27
-rw-r--r--InOsEmuPkg/Include/Ppi/EmuThunk.h1
3 files changed, 21 insertions, 28 deletions
diff --git a/InOsEmuPkg/Include/Library/PpiListLib.h b/InOsEmuPkg/Include/Library/PpiListLib.h
new file mode 100644
index 0000000000..061cfca34e
--- /dev/null
+++ b/InOsEmuPkg/Include/Library/PpiListLib.h
@@ -0,0 +1,21 @@
+/*++ @file
+
+Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __PPI_LIST_LIB_H__
+#define __PPI_LIST_LIB_H__
+
+
+extern CONST EFI_PEI_PPI_DESCRIPTOR *gPpiList;
+
+
+#endif
diff --git a/InOsEmuPkg/Include/Ppi/EmuPeiServicesTableUpdate.h b/InOsEmuPkg/Include/Ppi/EmuPeiServicesTableUpdate.h
deleted file mode 100644
index f706eac5c0..0000000000
--- a/InOsEmuPkg/Include/Ppi/EmuPeiServicesTableUpdate.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/** @file
- Emulator Thunk to abstract OS services from pure EFI code
-
- Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR>
-
- This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef __EMU_PEI_SERVICE_TABLE_UPDATE_PPI_H__
-#define __EMU_PEI_SERVICE_TABLE_UPDATE_PPI_H__
-
-#define _EMU_PEI_SERVICE_TABLE_UPDATE_PPI_GUID \
- { 0xFA93020C, 0x6CDF, 0x1946, { 0x86, 0x35, 0x72, 0xCB, 0x51, 0x9E, 0xCF, 0xFD } }
-
-
-
-
-extern EFI_GUID gEmuPeiServicesTableUpdatePpiGuid;
-
-#endif
diff --git a/InOsEmuPkg/Include/Ppi/EmuThunk.h b/InOsEmuPkg/Include/Ppi/EmuThunk.h
index 61047e3bfd..20cdc462f9 100644
--- a/InOsEmuPkg/Include/Ppi/EmuThunk.h
+++ b/InOsEmuPkg/Include/Ppi/EmuThunk.h
@@ -120,7 +120,6 @@ typedef struct {
EMU_PEI_AUTOSCAN MemoryAutoScan;
EMU_PEI_FD_INFORMATION FirmwareDevices;
EMU_PEI_THUNK_INTERFACE Thunk;
- EMU_PEI_LOAD_FILE LoadFile;
} EMU_THUNK_PPI;
extern EFI_GUID gEmuThunkPpiGuid;