Add sample code for PCD Database generation. These 3 files will be read by GenBuild tool and it is generated in the Head and Source file of PCD Service PEIM/Dxe Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@251 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
16
Tools/Conf/Pcd/PcdDatabaseDxeDefinitions.sample
Normal file
16
Tools/Conf/Pcd/PcdDatabaseDxeDefinitions.sample
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
typedef struct {
|
||||
DXE_PCD_DATABASE_INIT Init;
|
||||
DXE_PCD_DATABASE_UNINIT Uninit;
|
||||
} DXE_PCD_DATABASE;
|
||||
|
||||
|
||||
typedef struct {
|
||||
PEI_PCD_DATABASE PeiDb;
|
||||
DXE_PCD_DATABASE DxeDb;
|
||||
} PCD_DATABASE;
|
||||
|
||||
#define DXE_NEX_TOKEN_NUMBER (DXE_LOCAL_TOKEN_NUMBER - DXE_EX_TOKEN_NUMBER)
|
||||
|
||||
#define PCD_TOTAL_TOKEN_NUMBER (PEI_LOCAL_TOKEN_NUMBER + DXE_LOCAL_TOKEN_NUMBER)
|
||||
|
Reference in New Issue
Block a user