diff options
Diffstat (limited to 'MdePkg/Library/PeiPcdLib/PeiPcdLib.c')
-rw-r--r-- | MdePkg/Library/PeiPcdLib/PeiPcdLib.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c index 8ef5205593..fca14af868 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c @@ -61,10 +61,10 @@ GetPcdPpiPtr ( @retval SKU_ID Return the SKU ID that just be set.
**/
-SKU_ID
+UINTN
EFIAPI
LibPcdSetSku (
- IN SKU_ID SkuId
+ IN UINTN SkuId
)
{
@@ -86,7 +86,7 @@ LibPcdSetSku ( UINT8
EFIAPI
LibPcdGet8 (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -109,7 +109,7 @@ LibPcdGet8 ( UINT16
EFIAPI
LibPcdGet16 (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI *PcdPpi;
@@ -132,7 +132,7 @@ LibPcdGet16 ( UINT32
EFIAPI
LibPcdGet32 (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -155,7 +155,7 @@ LibPcdGet32 ( UINT64
EFIAPI
LibPcdGet64 (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -178,7 +178,7 @@ LibPcdGet64 ( VOID *
EFIAPI
LibPcdGetPtr (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -201,7 +201,7 @@ LibPcdGetPtr ( BOOLEAN
EFIAPI
LibPcdGetBool (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -224,7 +224,7 @@ LibPcdGetBool ( UINTN
EFIAPI
LibPcdGetSize (
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -251,7 +251,7 @@ UINT8 EFIAPI
LibPcdGetEx8 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -278,7 +278,7 @@ UINT16 EFIAPI
LibPcdGetEx16 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -305,7 +305,7 @@ UINT32 EFIAPI
LibPcdGetEx32 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -333,7 +333,7 @@ UINT64 EFIAPI
LibPcdGetEx64 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -360,7 +360,7 @@ VOID * EFIAPI
LibPcdGetExPtr (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -387,7 +387,7 @@ BOOLEAN EFIAPI
LibPcdGetExBool (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -414,7 +414,7 @@ UINTN EFIAPI
LibPcdGetExSize (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
PCD_PPI * PcdPpi;
@@ -439,7 +439,7 @@ LibPcdGetExSize ( UINT8
EFIAPI
LibPcdSet8 (
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT8 Value
)
{
@@ -471,7 +471,7 @@ LibPcdSet8 ( UINT16
EFIAPI
LibPcdSet16 (
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT16 Value
)
{
@@ -503,7 +503,7 @@ LibPcdSet16 ( UINT32
EFIAPI
LibPcdSet32 (
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT32 Value
)
{
@@ -534,7 +534,7 @@ LibPcdSet32 ( UINT64
EFIAPI
LibPcdSet64 (
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT64 Value
)
{
@@ -567,7 +567,7 @@ LibPcdSet64 ( VOID *
EFIAPI
LibPcdSetPtr (
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINTN SizeOfBuffer,
IN VOID *Buffer
)
@@ -600,7 +600,7 @@ LibPcdSetPtr ( BOOLEAN
EFIAPI
LibPcdSetBool (
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN BOOLEAN Value
)
{
@@ -636,7 +636,7 @@ UINT8 EFIAPI
LibPcdSetEx8 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT8 Value
)
{
@@ -672,7 +672,7 @@ UINT16 EFIAPI
LibPcdSetEx16 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT16 Value
)
{
@@ -708,7 +708,7 @@ UINT32 EFIAPI
LibPcdSetEx32 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT32 Value
)
{
@@ -744,7 +744,7 @@ UINT64 EFIAPI
LibPcdSetEx64 (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINT64 Value
)
{
@@ -781,7 +781,7 @@ VOID * EFIAPI
LibPcdSetExPtr (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN UINTN SizeOfBuffer,
IN VOID *Buffer
)
@@ -817,7 +817,7 @@ BOOLEAN EFIAPI
LibPcdSetExBool (
IN CONST GUID *Guid,
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN BOOLEAN Value
)
{
@@ -856,7 +856,7 @@ VOID EFIAPI
LibPcdCallbackOnSet (
IN CONST GUID *Guid, OPTIONAL
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN PCD_CALLBACK NotificationFunction
)
{
@@ -890,7 +890,7 @@ VOID EFIAPI
LibPcdCancelCallback (
IN CONST GUID *Guid, OPTIONAL
- IN PCD_TOKEN_NUMBER TokenNumber,
+ IN UINTN TokenNumber,
IN PCD_CALLBACK NotificationFunction
)
{
@@ -922,14 +922,14 @@ LibPcdCancelCallback ( @param[in] The previous PCD token number. If 0, then retrieves the first PCD
token number.
- @retval PCD_TOKEN_NUMBER The next valid token number.
+ @retval UINTN The next valid token number.
**/
-PCD_TOKEN_NUMBER
+UINTN
EFIAPI
LibPcdGetNextToken (
IN CONST GUID *Guid, OPTIONAL
- IN PCD_TOKEN_NUMBER TokenNumber
+ IN UINTN TokenNumber
)
{
EFI_STATUS Status;
|