32 FIRMWARE_CONFIG_ITEM FwCfgItem;
34 UINT8 SystemStates[6];
41 if ((Status !=
RETURN_SUCCESS) || (FwCfgSize !=
sizeof SystemStates)) {
47 return (BOOLEAN)(SystemStates[3] & BIT7);
BOOLEAN EFIAPI TdIsEnabled()
RETURN_STATUS EFIAPI QemuFwCfgFindFile(IN CONST CHAR8 *Name, OUT FIRMWARE_CONFIG_ITEM *Item, OUT UINTN *Size)
VOID EFIAPI QemuFwCfgReadBytes(IN UINTN Size, IN VOID *Buffer OPTIONAL)
VOID EFIAPI QemuFwCfgSelectItem(IN FIRMWARE_CONFIG_ITEM QemuFwCfgItem)
BOOLEAN EFIAPI QemuFwCfgS3Enabled(VOID)