/** @file\r
Private functions used by PCD DXE driver.\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#include <Library/BaseMemoryLib.h>\r
#include <Library/UefiRuntimeServicesTableLib.h>\r
\r
+//\r
+// Please make sure the PCD Serivce DXE Version is consistent with\r
+// the version of the generated DXE PCD Database by build tool.\r
+//\r
+#define PCD_SERVICE_DXE_VERSION 2\r
+\r
+//\r
+// PCD_DXE_SERVICE_DRIVER_VERSION is defined in Autogen.h.\r
+//\r
+#if (PCD_SERVICE_DXE_VERSION != PCD_DXE_SERVICE_DRIVER_VERSION)\r
+ #error "Please make sure the version of PCD DXE Service and the generated PCD DXE Database match."\r
+#endif\r
+\r
//\r
// Protocol Interface function declaration.\r
//\r
/** @file\r
The internal header file declares the private functions used by PeiPcd driver.\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
//\r
// Please make sure the PCD Serivce PEIM Version is consistent with\r
-// the version of PCD Database generation tool\r
+// the version of the generated PEIM PCD Database by build tool.\r
//\r
#define PCD_SERVICE_PEIM_VERSION 2\r
\r
//\r
-// PCD_PEI_DATABASE_GENTOOL_VERSION is defined in Autogen.h\r
-// and generated by PCD Database generation tool.\r
+// PCD_PEI_SERVICE_DRIVER_VERSION is defined in Autogen.h.\r
//\r
-//#if (PCD_SERVICE_PEIM_VERSION != PCD_PEI_SERVICE_DRIVER_AUTOGEN_VERSION )\r
-// #error "Please make sure the version of PCD Service PEIM and PCD PEI Database Generation Tool matches"\r
-//#endif\r
+#if (PCD_SERVICE_PEIM_VERSION != PCD_PEI_SERVICE_DRIVER_VERSION)\r
+ #error "Please make sure the version of PCD PEIM Service and the generated PCD PEI Database match."\r
+#endif\r
\r
//\r
// PPI Interface Implementation Declaration.\r