Each DXE Driver requires an Extended INF file. For basic introduction of INF file, please refer to Section 3.2.2.
[Defines] section for DXE driver should be modeled after the following.
Note: The MODULE_TYPE entry must be DXE_DRIVER.
INF_VERSION = 0x00010005BASE_NAME = SampleDriverDxeFILE_GUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXMODULE_TYPE = DXE_DRIVERENTRY_POINT = SampleDriverEntryPoint[Depex] gSampleProtocolGuid
Note: If DXE module dependent on the new definitions/features in
DXE_SERVICES_TABLE-defined in PI specifications from version 1.2 forward- the hex version 0x0001000A needs to be given in INF file [Defines] section's PI_SPECFIICATION_VERSION field.
Note: If module dependent on the new definitions/features in
EFI_BOOT_SERVICES/UEFI_RUNTIME_SERVICES- defined in UEFI specifications from version 2.1 forward-the hex version need to be given in INF file [Defines] section's UEFI_SPECFIICATION_VERSION field.