OnFebruary 23, 2022 6:14 PM, Gerd Hoffmann wrote:
> > -Pml4Entries = 1 << (mPhysMemAddressWidth - 39);
> > +if (TdIsEnabled ()) {
> > + Pml4Entries = 0x200;
> > +} else {
> > + Pml4Entries = 1 << (mPhysMemAddressWidth - 39);
> > +}
>
> With the PlatformAddressWidthInitial
Hi,
> -Pml4Entries = 1 << (mPhysMemAddressWidth - 39);
> +if (TdIsEnabled ()) {
> + Pml4Entries = 0x200;
> +} else {
> + Pml4Entries = 1 << (mPhysMemAddressWidth - 39);
> +}
With the PlatformAddressWidthInitialization() update in patch #33 it
should not be needed to sp
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429
OvmfPkg/PlatformPei is updated to support Tdx guest. There are below
major changes.
- Set Tdx related PCDs
- Build Tdx PlatformInfoHob
- Publish Tdx RamRegions
Cc: Ard Biesheuvel
Cc: Jordan Justen
Cc: Brijesh Singh
Cc: Erdem Aktas
Cc