# AmiTcgNvflagSample
**Index**: 0068 | **Size**: 5984 bytes | **Arch**: x64 | **Phase**: DXE

## Overview
AMI TCG (Trusted Computing Group) NVRAM flag sampling DXE driver. Manages TPM physical presence and NVRAM state flags during boot. Handles platform-specific TCG flag configurations and coordinates with the TPM driver stack to ensure proper TPM NVRAM initialization.

## Key Functions
- `TcgNvflagSampleEntryPoint` -- Entry point; initializes TCG NV flag state
- `TcgNvflagCheck` -- Samples TPM NVRAM flags to determine platform TPM state
- `TcgNvflagPublish` -- Publishes TPM status via UEFI variable

## Protocols / Dependencies
- TCG Platform Protocol
- TPM NVRAM variable services
- UEFI Variable Services for TPM status publishing

## Platform
HR650X, AMI TCG firmware, TPM 2.0 support, NVRAM physical presence flag management