TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | VIRT_ADAPTER_INFO_PLATFORM_SECURITY |
Macros | |
#define | VIRT_HSTI_SECURITY_FEATURE_SIZE 2 |
#define | VIRT_HSTI_BYTE0_SMM_SMRAM_LOCK BIT0 |
#define | VIRT_HSTI_BYTE0_SMM_SECURE_VARS_FLASH BIT1 |
#define | VIRT_HSTI_BYTE0_READONLY_CODE_FLASH BIT2 |
#define | QEMU_FIRMWARE_FLASH_UNKNOWN 0 |
#define | QEMU_FIRMWARE_FLASH_IS_ROM 1 |
#define | QEMU_FIRMWARE_FLASH_IS_RAM 2 |
#define | QEMU_FIRMWARE_FLASH_READ_ONLY 3 |
#define | QEMU_FIRMWARE_FLASH_WRITABLE 4 |
Functions | |
VOID | VirtHstiSetSupported (VIRT_ADAPTER_INFO_PLATFORM_SECURITY *VirtHsti, IN UINT32 ByteIndex, IN UINT8 BitMask) |
BOOLEAN | VirtHstiIsSupported (VIRT_ADAPTER_INFO_PLATFORM_SECURITY *VirtHsti, IN UINT32 ByteIndex, IN UINT8 BitMask) |
VOID | VirtHstiTestResult (CHAR16 *ErrorMsg, IN UINT32 ByteIndex, IN UINT8 BitMask) |
VIRT_ADAPTER_INFO_PLATFORM_SECURITY * | VirtHstiQemuQ35Init (VOID) |
VOID | VirtHstiQemuQ35Verify (VOID) |
VIRT_ADAPTER_INFO_PLATFORM_SECURITY * | VirtHstiQemuPCInit (VOID) |
VOID | VirtHstiQemuPCVerify (VOID) |
VOID | VirtHstiQemuCommonInit (VIRT_ADAPTER_INFO_PLATFORM_SECURITY *VirtHsti) |
VOID | VirtHstiQemuCommonVerify (VOID) |
UINT32 | VirtHstiQemuFirmwareFlashCheck (UINT32 Address) |
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VirtHstiDxe.h.
#define QEMU_FIRMWARE_FLASH_IS_RAM 2 |
Definition at line 87 of file VirtHstiDxe.h.
#define QEMU_FIRMWARE_FLASH_IS_ROM 1 |
Definition at line 86 of file VirtHstiDxe.h.
#define QEMU_FIRMWARE_FLASH_READ_ONLY 3 |
Definition at line 88 of file VirtHstiDxe.h.
#define QEMU_FIRMWARE_FLASH_UNKNOWN 0 |
Definition at line 85 of file VirtHstiDxe.h.
#define QEMU_FIRMWARE_FLASH_WRITABLE 4 |
Definition at line 89 of file VirtHstiDxe.h.
#define VIRT_HSTI_BYTE0_READONLY_CODE_FLASH BIT2 |
Definition at line 11 of file VirtHstiDxe.h.
#define VIRT_HSTI_BYTE0_SMM_SECURE_VARS_FLASH BIT1 |
Definition at line 10 of file VirtHstiDxe.h.
#define VIRT_HSTI_BYTE0_SMM_SMRAM_LOCK BIT0 |
Definition at line 9 of file VirtHstiDxe.h.
#define VIRT_HSTI_SECURITY_FEATURE_SIZE 2 |
Definition at line 7 of file VirtHstiDxe.h.
BOOLEAN VirtHstiIsSupported | ( | VIRT_ADAPTER_INFO_PLATFORM_SECURITY * | VirtHsti, |
IN UINT32 | ByteIndex, | ||
IN UINT8 | BitMask | ||
) |
Definition at line 42 of file VirtHstiDxe.c.
VOID VirtHstiQemuCommonInit | ( | VIRT_ADAPTER_INFO_PLATFORM_SECURITY * | VirtHsti | ) |
Definition at line 13 of file QemuCommon.c.
VOID VirtHstiQemuCommonVerify | ( | VOID | ) |
Definition at line 21 of file QemuCommon.c.
VIRT_ADAPTER_INFO_PLATFORM_SECURITY * VirtHstiQemuPCInit | ( | VOID | ) |
VIRT_ADAPTER_INFO_PLATFORM_SECURITY * VirtHstiQemuQ35Init | ( | VOID | ) |
VOID VirtHstiSetSupported | ( | VIRT_ADAPTER_INFO_PLATFORM_SECURITY * | VirtHsti, |
IN UINT32 | ByteIndex, | ||
IN UINT8 | BitMask | ||
) |
Definition at line 30 of file VirtHstiDxe.c.
Definition at line 53 of file VirtHstiDxe.c.