\r
\r
\r
+//\r
+// The package level header files this module uses\r
+//\r
+#include <PiPei.h>\r
+//\r
+// The protocols, PPI and GUID defintions for this module\r
+//\r
+#include <Ppi/Pcd.h>\r
+//\r
+// The Library classes this module consumes\r
+//\r
+#include <Library/PcdLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/PeiServicesTablePointerLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+\r
/**\r
The constructor function retrieve the PCD_PPI pointer.\r
\r
@retval PCD_PPI * The pointer to the PCD_PPI.\r
\r
**/\r
+STATIC\r
PCD_PPI *\r
GetPcdPpiPtr (\r
VOID\r
PcdPpi = GetPcdPpiPtr ();\r
\r
\r
- Status = PcdPpi->CallbackOnSet (TokenNumber, Guid, NotificationFunction);\r
+ Status = PcdPpi->CallbackOnSet (Guid, TokenNumber, NotificationFunction);\r
\r
ASSERT_EFI_ERROR (Status);\r
\r
PcdPpi = GetPcdPpiPtr ();\r
\r
\r
- Status = PcdPpi->CancelCallback (TokenNumber, Guid, NotificationFunction);\r
+ Status = PcdPpi->CancelCallback (Guid, TokenNumber, NotificationFunction);\r
\r
ASSERT_EFI_ERROR (Status);\r
\r