diff options
Diffstat (limited to 'EdkModulePkg/Universal/PCD/Pei/Service.h')
-rw-r--r-- | EdkModulePkg/Universal/PCD/Pei/Service.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/EdkModulePkg/Universal/PCD/Pei/Service.h b/EdkModulePkg/Universal/PCD/Pei/Service.h index 0059b23..5f334e1 100644 --- a/EdkModulePkg/Universal/PCD/Pei/Service.h +++ b/EdkModulePkg/Universal/PCD/Pei/Service.h @@ -18,6 +18,20 @@ Module Name: Service.h #ifndef _SERVICE_H
#define _SERVICE_H
+//
+// Please make sure the PCD Serivce PEIM Version is consistent with
+// the version of PCD Database generation tool
+//
+#define PCD_PEI_SERVICE_DRIVER_VERSION 1
+
+//
+// PCD_PEI_DATABASE_GENTOOL_VERSION is defined in Autogen.h
+// and generated by PCD Database generation tool.
+//
+#if (PCD_PEI_SERVICE_PEIM_VERSION != PCD_PEI_DATABASE_GENTOOL_VERSION)
+ #error "Please make sure the version of PCD Service PEIM and PCD PEI Database Generation Tool matches"
+#endif
+
/* Internal Function definitions */
PEI_PCD_DATABASE *
|