VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168237
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLibInternal.c

    r99404 r108794  
    144144
    145145/**
     146  Returns a boolean to indicate whether DebugVirtualization is enabled.
     147
     148  @retval TRUE           DebugVirtualization is enabled
     149  @retval FALSE          DebugVirtualization is not enabled
     150**/
     151BOOLEAN
     152EFIAPI
     153MemEncryptSevEsDebugVirtualizationIsEnabled (
     154  VOID
     155  )
     156{
     157  MSR_SEV_STATUS_REGISTER  Msr;
     158
     159  Msr.Uint32 = InternalMemEncryptSevStatus ();
     160
     161  return Msr.Bits.DebugVirtualization ? TRUE : FALSE;
     162}
     163
     164/**
    146165  Locate the page range that covers the initial (pre-SMBASE-relocation) SMRAM
    147166  Save State Map.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette