\r
Define Secure Encrypted Virtualization (SEV) base library helper function\r
\r
- Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
+ Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
#include <Base.h>\r
\r
+//\r
+// Internal structure for holding SEV-ES information needed during SEC phase\r
+// and valid only during SEC phase and early PEI during platform\r
+// initialization.\r
+//\r
+// This structure is also used by assembler files:\r
+// OvmfPkg/ResetVector/ResetVector.nasmb\r
+// OvmfPkg/ResetVector/Ia32/PageTables64.asm\r
+// any changes must stay in sync with its usage.\r
+//\r
+typedef struct _SEC_SEV_ES_WORK_AREA {\r
+ UINT8 SevEsEnabled;\r
+} SEC_SEV_ES_WORK_AREA;\r
+\r
/**\r
Returns a boolean to indicate whether SEV-ES is enabled.\r
\r