Reviewed-by: Eric Dong <eric.d...@intel.com> Thanks, Eric
> -----Original Message----- > From: Tom Lendacky <thomas.lenda...@amd.com> > Sent: Friday, June 5, 2020 9:27 PM > To: devel@edk2.groups.io > Cc: Brijesh Singh <brijesh.si...@amd.com>; Ard Biesheuvel > <ard.biesheu...@arm.com>; Dong, Eric <eric.d...@intel.com>; Justen, > Jordan L <jordan.l.jus...@intel.com>; Laszlo Ersek <ler...@redhat.com>; > Gao, Liming <liming....@intel.com>; Kinney, Michael D > <michael.d.kin...@intel.com>; Ni, Ray <ray...@intel.com> > Subject: [PATCH v9 33/46] UefiCpuPkg: Create an SEV-ES workarea PCD > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 > > Create an SEV-ES workarea PCD. This PCD will be used for BSP > communication > during SEC and for AP startup during PEI and DXE phases, the latter is the > reason for creating it in the UefiCpuPkg. > > Cc: Eric Dong <eric.d...@intel.com> > Cc: Ray Ni <ray...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > Signed-off-by: Tom Lendacky <thomas.lenda...@amd.com> > --- > UefiCpuPkg/UefiCpuPkg.dec | 8 ++++++++ > UefiCpuPkg/UefiCpuPkg.uni | 8 ++++++++ > 2 files changed, 16 insertions(+) > > diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec > index cb92f34b6f55..8c614f9b42bd 100644 > --- a/UefiCpuPkg/UefiCpuPkg.dec > +++ b/UefiCpuPkg/UefiCpuPkg.dec > @@ -161,6 +161,14 @@ [PcdsFixedAtBuild] > # @Prompt Specify the count of pre allocated SMM MP tokens per chunk. > > > gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmMpTokenCountPerChunk|64|UI > NT32|0x30002002 > > > > + ## Area of memory where the SEV-ES work area block lives. > > + # @Prompt Configure the SEV-ES work area base > > + > gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase|0x0|UINT32|0x30002 > 005 > > + > > + ## Size of teh area of memory where the SEV-ES work area block lives. > > + # @Prompt Configure the SEV-ES work area base > > + > gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaSize|0x0|UINT32|0x30002 > 006 > > + > > [PcdsFixedAtBuild, PcdsPatchableInModule] > > ## This value is the CPU Local APIC base address, which aligns the address > on a 4-KByte boundary. > > # @Prompt Configure base address of CPU Local APIC > > diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni > index f4a0c72f6293..219c1963bf08 100644 > --- a/UefiCpuPkg/UefiCpuPkg.uni > +++ b/UefiCpuPkg/UefiCpuPkg.uni > @@ -281,3 +281,11 @@ > > > #string STR_gUefiCpuPkgTokenSpaceGuid_PcdSevEsIsEnabled_PROMPT > #language en-US "Specifies whether SEV-ES is enabled" > > #string STR_gUefiCpuPkgTokenSpaceGuid_PcdSevEsIsEnabled_HELP > #language en-US "Set to TRUE when running as an SEV-ES guest, FALSE > otherwise." > > + > > +#string > STR_gUefiCpuPkgTokenSpaceGuid_PcdSevEsWorkAreaBase_PROMPT > #language en-US "Specify the address of the SEV-ES work area" > > + > > +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdSevEsWorkAreaBase_HELP > #language en-US "Specifies the address of the work area used by an SEV-ES > guest." > > + > > +#string > STR_gUefiCpuPkgTokenSpaceGuid_PcdSevEsWorkAreaSize_PROMPT > #language en-US "Specify the size of the SEV-ES work area" > > + > > +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdSevEsWorkAreaSize_HELP > #language en-US "Specifies the size of the work area used by an SEV-ES > guest." > > -- > 2.27.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#61181): https://edk2.groups.io/g/devel/message/61181 Mute This Topic: https://groups.io/mt/74692454/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-