summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-21 08:52:53 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-21 08:52:53 +0000
commit39ef213c856c61e860a1d69028be218cdb73ae6f (patch)
treedd9d145059f87cf6aa8cb5b1a4413ded1b8ad869 /MdePkg
parent6d642190b6fdc60aa14056de69dc8f4f4aeda11c (diff)
downloadedk2-platforms-39ef213c856c61e860a1d69028be218cdb73ae6f.tar.xz
1, Correct the name of PCD_PPI_CALLBACK to EFI_PCD_PPI_CALLBACK
2, Fix some minor typo. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9353 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Ppi/PiPcd.h26
-rw-r--r--MdePkg/Include/Protocol/PiPcd.h2
2 files changed, 22 insertions, 6 deletions
diff --git a/MdePkg/Include/Ppi/PiPcd.h b/MdePkg/Include/Ppi/PiPcd.h
index b0c9e85f10..90984ac84b 100644
--- a/MdePkg/Include/Ppi/PiPcd.h
+++ b/MdePkg/Include/Ppi/PiPcd.h
@@ -105,6 +105,22 @@ UINT32
);
/**
+ Retrieves the current 64-bit value for a PCD token number. If the TokenNumber is invalid, the
+ results are unpredictable.
+
+ @param[in] Guid The 128-bit unique value that designates which namespace to extract the value from.
+ @param[in] TokenNumber The PCD token number.
+
+ @return 64-bit value for a given PCD token.
+**/
+typedef
+UINT32
+(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_64)(
+ IN CONST EFI_GUID *Guid,
+ IN UINTN TokenNumber
+);
+
+/**
Retrieves the current pointer to the value for a PCD token number. There should not be any
alignment assumptions about the pointer that is returned by this function call. If the TokenNumber
is invalid, the results are unpredictable.
@@ -299,7 +315,7 @@ EFI_STATUS
typedef
VOID
-(EFIAPI *PCD_PPI_CALLBACK)(
+(EFIAPI *EFI_PCD_PPI_CALLBACK)(
IN EFI_GUID *Guid OPTIONAL,
IN UINTN CallBackToken,
IN VOID *TokenData,
@@ -321,10 +337,10 @@ VOID
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_PEI_PCD_PPI_CALL_BACK_ON_SET)(
+(EFIAPI *EFI_PEI_PCD_PPI_CALLBACK_ON_SET)(
IN CONST EFI_GUID *Guid OPTIONAL,
IN UINTN CallBackToken,
- IN PCD_PPI_CALLBACK CallBackFunction
+ IN EFI_PCD_PPI_CALLBACK CallBackFunction
);
/**
@@ -343,10 +359,10 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_PEI_PCD_PPI_CANCEL_CALL_BACK)(
+(EFIAPI *EFI_PEI_PCD_PPI_CANCEL_CALLBACK)(
IN CONST EFI_GUID *Guid OPTIONAL,
IN UINTN CallBackToken,
- IN PCD_PPI_CALLBACK CallBackFunction
+ IN EFI_PCD_PPI_CALLBACK CallBackFunction
);
/**
diff --git a/MdePkg/Include/Protocol/PiPcd.h b/MdePkg/Include/Protocol/PiPcd.h
index fd6d1379ba..6bf56a96fb 100644
--- a/MdePkg/Include/Protocol/PiPcd.h
+++ b/MdePkg/Include/Protocol/PiPcd.h
@@ -285,7 +285,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_PCD_PROTOCOL_SET_POINTER_EX)(
+(EFIAPI *EFI_PCD_PROTOCOL_SET_EX_POINTER)(
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINTN SizeOfValue,