8.1 Beginning with INF File
Each DXE Driver requires an Extended INF file. For basic introduction of INF file, please refer to Section 3.2.2.
The [Defines] section for DXE driver should be modeled after the following.
Note: The MODULE_TYPE entry must be DXE_DRIVER.
1
INF_VERSION = 0x00010005
2
BASE_NAME = SampleDriverDxe
3
FILE_GUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
4
MODULE_TYPE = DXE_DRIVER
5
ENTRY_POINT = SampleDriverEntryPoint
6
[Depex] gSampleProtocolGuid
Copied!
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.
Last modified 1yr ago
Copy link