# HardwareSignatureEntry

| Field       | Value                                                     |
|-------------|-----------------------------------------------------------|
| Index       | 0310                                                      |
| Module      | HardwareSignatureEntry                                    |
| Size        | 8,260 bytes (PE32+)                                       |
| SHA256      | 406b8bdd5c50c774842a5d25307d05c1d8f0c383612b610c3fb0c7b15673f37e |
| Phase       | DXE                                                       |
| Package     | AmiModulePkg/HardwareSignature/HardwareSignatureEntry     |
| Build       | DEBUG_VS2015 X64                                          |
| Image       | HR6N0XMLK                                                 |
| Entry Point | 0x384                                                     |

## Overview

This DXE driver implements the platform "Hardware Signature" feature from AmiModulePkg. The UEFI specification and Windows BitLocker/Secure Boot require the firmware to maintain a hardware signature -- a value that changes whenever the physical hardware configuration is altered. This driver connects to the HII hardware-configuration formset and installs a notification callback that reads the physical memory size, hardware status byte, hardware configuration DWORD, CMOS checksum, and firmware capability DWORD, then writes the updated hardware signature count into formset storage.

## Key Functions

- HwSigEntryPoint -- Module entry point; initializes UEFI globals and HII formset callbacks
- HwSigFormCallback -- Monitors hardware configuration formset display/refresh events
- HwSigUpdateSignature -- Reads current platform state and updates the AmiHardwareSignatureSetupUpdateCountVar variable

## Dependencies

- UEFI Boot/Runtime Services
- HII (Human Interface Infrastructure) Protocol
- CMOS access for battery-backed configuration status
- AmiModulePkg setup variable storage

## Platform

X64 UEFI DXE driver, PE32+ format, 6 sections (.text, .rdata, .data, section_3, .xdata, .reloc). Part of AmiModulePkg.