summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-19 05:18:47 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-19 05:18:47 +0000
commit2a870f53488e79e478317dbb2114cad9bf56cfe7 (patch)
treecec12ced669a7680dd046764078e916533524939 /MdePkg/Library
parent020fa45d13d45a9ec037fb2e785e6f96bd2ec524 (diff)
downloadedk2-platforms-2a870f53488e79e478317dbb2114cad9bf56cfe7.tar.xz
Add [in,out] in the @param for PCD header and c file.
Update GetNextToken and GetNextTokenSpaces APIs parameter sequence according to PCD spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1040 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/DxePcdLib/DxePcdLib.c4
-rw-r--r--MdePkg/Library/PeiPcdLib/PeiPcdLib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.c b/MdePkg/Library/DxePcdLib/DxePcdLib.c
index 2747df35c0..7f502b4253 100644
--- a/MdePkg/Library/DxePcdLib/DxePcdLib.c
+++ b/MdePkg/Library/DxePcdLib/DxePcdLib.c
@@ -806,7 +806,7 @@ LibPcdCallbackOnSet (
ASSERT (NotificationFunction != NULL);
- Status = mPcd->CallbackOnSet (TokenNumber, Guid, NotificationFunction);
+ Status = mPcd->CallbackOnSet (Guid, TokenNumber, NotificationFunction);
ASSERT_EFI_ERROR (Status);
@@ -838,7 +838,7 @@ LibPcdCancelCallback (
ASSERT (NotificationFunction != NULL);
- Status = mPcd->CancelCallback (TokenNumber, Guid, NotificationFunction);
+ Status = mPcd->CancelCallback (Guid, TokenNumber, NotificationFunction);
ASSERT_EFI_ERROR (Status);
diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
index b67d5f4ef2..f241227fb3 100644
--- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
+++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
@@ -906,7 +906,7 @@ LibPcdCallbackOnSet (
PcdPpi = GetPcdPpiPtr ();
- Status = PcdPpi->CallbackOnSet (TokenNumber, Guid, NotificationFunction);
+ Status = PcdPpi->CallbackOnSet (Guid, TokenNumber, NotificationFunction);
ASSERT_EFI_ERROR (Status);
@@ -940,7 +940,7 @@ LibPcdCancelCallback (
PcdPpi = GetPcdPpiPtr ();
- Status = PcdPpi->CancelCallback (TokenNumber, Guid, NotificationFunction);
+ Status = PcdPpi->CancelCallback (Guid, TokenNumber, NotificationFunction);
ASSERT_EFI_ERROR (Status);