7.2 Beginning to Write a PEIM INF File
Following is a sample for [Defines]
section of one PEIM:
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = SamplePei
FILE_GUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
ENTRY_POINT = PeimSampleInitialize
The MODULE_TYPE
must be set to PEIM
for all PEIMs.
Note: If PEIM dependent on the new definitions and features in
PEI_SERVICES_TABLE-defined in PI specification from versions1.2 forward-the hex version 0x0001000A needs to be given in INF file [Defines] section's PI_SPECFIICATION_VERSION field.