diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-05 09:53:37 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-05 09:53:37 +0000 |
commit | 4e4f13d245b1fbca55c03aca0b36848d8d50b57f (patch) | |
tree | f11237fcbdbfb13b329ef5e21b3710a06cd0e30b /MdeModulePkg/Universal/CapsulePei/Common | |
parent | 1abad90b73bfe991f98f8715bdf678f89f56160e (diff) | |
download | edk2-platforms-4e4f13d245b1fbca55c03aca0b36848d8d50b57f.tar.xz |
Update capsule pei module to pass IPF build.
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12280 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/CapsulePei/Common')
-rw-r--r-- | MdeModulePkg/Universal/CapsulePei/Common/CommonHeader.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/CapsulePei/Common/CommonHeader.h b/MdeModulePkg/Universal/CapsulePei/Common/CommonHeader.h index 5c0aa3068c..0f7f7aea41 100644 --- a/MdeModulePkg/Universal/CapsulePei/Common/CommonHeader.h +++ b/MdeModulePkg/Universal/CapsulePei/Common/CommonHeader.h @@ -12,11 +12,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
-#ifndef _CAPSULE_THUNK_32_TO_64_
-#define _CAPSULE_THUNK_32_TO_64_
-
-#include <Uefi.h>
-#include "PiPei.h"
+#ifndef _CAPSULE_COMMON_HEADER_
+#define _CAPSULE_COMMON_HEADER_
//
// This capsule PEIM puts its private data at the start of the
@@ -31,6 +28,7 @@ typedef struct { #define CAPSULE_TEST_SIGNATURE SIGNATURE_32('T', 'E', 'S', 'T')
+#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
typedef struct {
EFI_PHYSICAL_ADDRESS EntryPoint;
EFI_PHYSICAL_ADDRESS StackBufferBase;
@@ -47,6 +45,7 @@ typedef struct { UINT64 ReturnStatus;
IA32_DESCRIPTOR Gdtr;
} SWITCH_64_TO_32_CONTEXT;
+#endif
/**
The function to coalesce a fragmented capsule in memory.
|