diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-12-05 14:54:05 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 2f88bd3a1296c522317f1c21377876de63de5be7 (patch) | |
tree | ba47875489cc5698061275a495983e9dea3be098 /MdePkg/Include/Ppi/Pcd.h | |
parent | 1436aea4d5707e672672a11bda72be2c63c936c3 (diff) | |
download | edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.gz edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.bz2 edk2-2f88bd3a1296c522317f1c21377876de63de5be7.zip |
MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the MdePkg package
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Include/Ppi/Pcd.h')
-rw-r--r-- | MdePkg/Include/Ppi/Pcd.h | 136 |
1 files changed, 38 insertions, 98 deletions
diff --git a/MdePkg/Include/Ppi/Pcd.h b/MdePkg/Include/Ppi/Pcd.h index ada27f7a1b..d36a7f106c 100644 --- a/MdePkg/Include/Ppi/Pcd.h +++ b/MdePkg/Include/Ppi/Pcd.h @@ -17,8 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define PCD_PPI_GUID \
{ 0x6e81c58, 0x4ad7, 0x44bc, { 0x83, 0x90, 0xf1, 0x2, 0x65, 0xf7, 0x24, 0x80 } }
-#define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
-
+#define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
/**
Sets the SKU value for subsequent calls to set or get PCD token values.
@@ -49,8 +48,6 @@ VOID IN UINTN SkuId
);
-
-
/**
Retrieves an 8-bit value for a given PCD token.
@@ -68,8 +65,6 @@ UINT8 IN UINTN TokenNumber
);
-
-
/**
Retrieves a 16-bit value for a given PCD token.
@@ -87,8 +82,6 @@ UINT16 IN UINTN TokenNumber
);
-
-
/**
Retrieves a 32-bit value for a given PCD token.
@@ -106,8 +99,6 @@ UINT32 IN UINTN TokenNumber
);
-
-
/**
Retrieves a 64-bit value for a given PCD token.
@@ -125,8 +116,6 @@ UINT64 IN UINTN TokenNumber
);
-
-
/**
Retrieves a pointer to a value for a given PCD token.
@@ -146,8 +135,6 @@ VOID * IN UINTN TokenNumber
);
-
-
/**
Retrieves a Boolean value for a given PCD token.
@@ -167,8 +154,6 @@ BOOLEAN IN UINTN TokenNumber
);
-
-
/**
Retrieves the size of the value for a given PCD token.
@@ -186,8 +171,6 @@ UINTN IN UINTN TokenNumber
);
-
-
/**
Retrieves an 8-bit value for a given PCD token and token space.
@@ -209,8 +192,6 @@ UINT8 IN UINTN TokenNumber
);
-
-
/**
Retrieves a 16-bit value for a given PCD token and token space.
@@ -232,8 +213,6 @@ UINT16 IN UINTN TokenNumber
);
-
-
/**
Retrieves a 32-bit value for a given PCD token and token space.
@@ -255,8 +234,6 @@ UINT32 IN UINTN TokenNumber
);
-
-
/**
Retrieves a 64-bit value for a given PCD token and token space.
@@ -278,8 +255,6 @@ UINT64 IN UINTN TokenNumber
);
-
-
/**
Retrieves a pointer to a value for a given PCD token and token space.
@@ -301,8 +276,6 @@ VOID * IN UINTN TokenNumber
);
-
-
/**
Retrieves an Boolean value for a given PCD token and token space.
@@ -324,8 +297,6 @@ BOOLEAN IN UINTN TokenNumber
);
-
-
/**
Retrieves the size of the value for a given PCD token and token space.
@@ -345,8 +316,6 @@ UINTN IN UINTN TokenNumber
);
-
-
/**
Sets an 8-bit value for a given PCD token.
@@ -371,8 +340,6 @@ EFI_STATUS IN UINT8 Value
);
-
-
/**
Sets a 16-bit value for a given PCD token.
@@ -397,8 +364,6 @@ EFI_STATUS IN UINT16 Value
);
-
-
/**
Sets a 32-bit value for a given PCD token.
@@ -423,8 +388,6 @@ EFI_STATUS IN UINT32 Value
);
-
-
/**
Sets a 64-bit value for a given PCD token.
@@ -502,8 +465,6 @@ EFI_STATUS IN BOOLEAN Value
);
-
-
/**
Sets an 8-bit value for a given PCD token.
@@ -530,8 +491,6 @@ EFI_STATUS IN UINT8 Value
);
-
-
/**
Sets a 16-bit value for a given PCD token.
@@ -558,8 +517,6 @@ EFI_STATUS IN UINT16 Value
);
-
-
/**
Sets a 32-bit value for a given PCD token.
@@ -586,8 +543,6 @@ EFI_STATUS IN UINT32 Value
);
-
-
/**
Sets a 64-bit value for a given PCD token.
@@ -614,8 +569,6 @@ EFI_STATUS IN UINT64 Value
);
-
-
/**
Sets a value of a specified size for a given PCD token.
@@ -673,8 +626,6 @@ EFI_STATUS IN BOOLEAN Value
);
-
-
/**
Callback on SET function prototype definition.
@@ -702,8 +653,6 @@ VOID IN UINTN TokenDataSize
);
-
-
/**
Specifies a function to be called anytime the value of a designated token is changed.
@@ -724,8 +673,6 @@ EFI_STATUS IN PCD_PPI_CALLBACK CallBackFunction
);
-
-
/**
Cancels a previously set callback function for a particular PCD token number.
@@ -746,8 +693,6 @@ EFI_STATUS IN PCD_PPI_CALLBACK CallBackFunction
);
-
-
/**
Retrieves the next valid token number in a given namespace.
@@ -780,8 +725,6 @@ EFI_STATUS IN OUT UINTN *TokenNumber
);
-
-
/**
Retrieves the next valid PCD token namespace for a given namespace.
@@ -804,51 +747,48 @@ EFI_STATUS IN OUT CONST EFI_GUID **Guid
);
-
-
///
/// This service abstracts the ability to set/get Platform Configuration Database (PCD).
///
typedef struct {
- PCD_PPI_SET_SKU SetSku;
-
- PCD_PPI_GET8 Get8;
- PCD_PPI_GET16 Get16;
- PCD_PPI_GET32 Get32;
- PCD_PPI_GET64 Get64;
- PCD_PPI_GET_POINTER GetPtr;
- PCD_PPI_GET_BOOLEAN GetBool;
- PCD_PPI_GET_SIZE GetSize;
-
- PCD_PPI_GET_EX_8 Get8Ex;
- PCD_PPI_GET_EX_16 Get16Ex;
- PCD_PPI_GET_EX_32 Get32Ex;
- PCD_PPI_GET_EX_64 Get64Ex;
- PCD_PPI_GET_EX_POINTER GetPtrEx;
- PCD_PPI_GET_EX_BOOLEAN GetBoolEx;
- PCD_PPI_GET_EX_SIZE GetSizeEx;
-
- PCD_PPI_SET8 Set8;
- PCD_PPI_SET16 Set16;
- PCD_PPI_SET32 Set32;
- PCD_PPI_SET64 Set64;
- PCD_PPI_SET_POINTER SetPtr;
- PCD_PPI_SET_BOOLEAN SetBool;
-
- PCD_PPI_SET_EX_8 Set8Ex;
- PCD_PPI_SET_EX_16 Set16Ex;
- PCD_PPI_SET_EX_32 Set32Ex;
- PCD_PPI_SET_EX_64 Set64Ex;
- PCD_PPI_SET_EX_POINTER SetPtrEx;
- PCD_PPI_SET_EX_BOOLEAN SetBoolEx;
-
- PCD_PPI_CALLBACK_ONSET CallbackOnSet;
- PCD_PPI_CANCEL_CALLBACK CancelCallback;
- PCD_PPI_GET_NEXT_TOKEN GetNextToken;
- PCD_PPI_GET_NEXT_TOKENSPACE GetNextTokenSpace;
+ PCD_PPI_SET_SKU SetSku;
+
+ PCD_PPI_GET8 Get8;
+ PCD_PPI_GET16 Get16;
+ PCD_PPI_GET32 Get32;
+ PCD_PPI_GET64 Get64;
+ PCD_PPI_GET_POINTER GetPtr;
+ PCD_PPI_GET_BOOLEAN GetBool;
+ PCD_PPI_GET_SIZE GetSize;
+
+ PCD_PPI_GET_EX_8 Get8Ex;
+ PCD_PPI_GET_EX_16 Get16Ex;
+ PCD_PPI_GET_EX_32 Get32Ex;
+ PCD_PPI_GET_EX_64 Get64Ex;
+ PCD_PPI_GET_EX_POINTER GetPtrEx;
+ PCD_PPI_GET_EX_BOOLEAN GetBoolEx;
+ PCD_PPI_GET_EX_SIZE GetSizeEx;
+
+ PCD_PPI_SET8 Set8;
+ PCD_PPI_SET16 Set16;
+ PCD_PPI_SET32 Set32;
+ PCD_PPI_SET64 Set64;
+ PCD_PPI_SET_POINTER SetPtr;
+ PCD_PPI_SET_BOOLEAN SetBool;
+
+ PCD_PPI_SET_EX_8 Set8Ex;
+ PCD_PPI_SET_EX_16 Set16Ex;
+ PCD_PPI_SET_EX_32 Set32Ex;
+ PCD_PPI_SET_EX_64 Set64Ex;
+ PCD_PPI_SET_EX_POINTER SetPtrEx;
+ PCD_PPI_SET_EX_BOOLEAN SetBoolEx;
+
+ PCD_PPI_CALLBACK_ONSET CallbackOnSet;
+ PCD_PPI_CANCEL_CALLBACK CancelCallback;
+ PCD_PPI_GET_NEXT_TOKEN GetNextToken;
+ PCD_PPI_GET_NEXT_TOKENSPACE GetNextTokenSpace;
} PCD_PPI;
-
-extern EFI_GUID gPcdPpiGuid;
+extern EFI_GUID gPcdPpiGuid;
#endif
|