TCG (Trusted Computing Group) Platform Setup Policy DXE driver. Reads the 814-byte "Setup" NV variable and the "PCRBitmap" variable to initialize a TCG_PLATFORM_SETUP_POLICY data structure (27 bytes covering TPM PCR enable bits, physical presence, and TCG protocol settings). Installs the TCG_PLATFORM_SETUP_POLICY_PROTOCOL to expose these policy values to other TCG platform drivers, and registers a notification callback for policy synchronization.
Key Functions
- TcgPlatformSetupPolicyDxeEntryPoint -- reads Setup/PCRBitmap vars, installs protocol
- TcgPlatformSetPolicyData -- accepts updated TPM policy data, merges into Setup variable
- TcgPlatformSetupPolicyNotify -- EVT_NOTIFY_SIGNAL callback for policy sync
- TcgPlatformInitPolicyFromSetup -- initializes the 27-byte policy from Setup variable offsets
Protocols/Dependencies
- TCG_PLATFORM_SETUP_POLICY_PROTOCOL, UEFI Variable Services
- Setup variable (gSetupVariableGuid), PCRBitmap variable, TcgInternalSyncFlag
x86-64, UEFI DXE_DRIVER, VS2015 DEBUG, LenovoServerPkg