DynamicTablesPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the DynamicTablesPkg 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: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
7c34237831
commit
731c67e1d7
@@ -82,19 +82,19 @@ Object ID's in the ARM Namespace:
|
||||
29 - Processor Hierarchy Node ID Info
|
||||
30 - CM Object Reference
|
||||
*/
|
||||
typedef UINT32 CM_OBJECT_ID;
|
||||
typedef UINT32 CM_OBJECT_ID;
|
||||
|
||||
/** A mask for Object ID
|
||||
*/
|
||||
#define OBJECT_ID_MASK 0xFF
|
||||
#define OBJECT_ID_MASK 0xFF
|
||||
|
||||
/** A mask for Namespace ID
|
||||
*/
|
||||
#define NAMESPACE_ID_MASK 0xF
|
||||
#define NAMESPACE_ID_MASK 0xF
|
||||
|
||||
/** Starting bit position for Namespace ID
|
||||
*/
|
||||
#define NAMESPACE_ID_BIT_SHIFT 28
|
||||
#define NAMESPACE_ID_BIT_SHIFT 28
|
||||
|
||||
/** The EOBJECT_NAMESPACE_ID enum describes the defined namespaces
|
||||
for the Configuration Manager Objects.
|
||||
@@ -113,16 +113,16 @@ typedef enum ObjectNameSpaceID {
|
||||
*/
|
||||
typedef struct CmObjDescriptor {
|
||||
/// Object Id
|
||||
CM_OBJECT_ID ObjectId;
|
||||
CM_OBJECT_ID ObjectId;
|
||||
|
||||
/// Size of the described Object or Object List
|
||||
UINT32 Size;
|
||||
UINT32 Size;
|
||||
|
||||
/// Pointer to the described Object or Object List
|
||||
VOID * Data;
|
||||
VOID *Data;
|
||||
|
||||
/// Count of objects in the list
|
||||
UINT32 Count;
|
||||
UINT32 Count;
|
||||
} CM_OBJ_DESCRIPTOR;
|
||||
|
||||
#pragma pack()
|
||||
@@ -143,7 +143,7 @@ typedef struct CmObjDescriptor {
|
||||
|
||||
@retval Returns the Object ID corresponding to the CmObjectID.
|
||||
**/
|
||||
#define GET_CM_OBJECT_ID(CmObjectId) ((CmObjectId) & OBJECT_ID_MASK)
|
||||
#define GET_CM_OBJECT_ID(CmObjectId) ((CmObjectId) & OBJECT_ID_MASK)
|
||||
|
||||
/** This macro returns a Configuration Manager Object ID
|
||||
from the NameSpace ID and the ObjectID.
|
||||
|
Reference in New Issue
Block a user