chore: 代码规范化处理。

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I3f039fa7536a107b55b75031d5359075479a5f33
This commit is contained in:
yudechen
2023-05-24 11:25:45 +08:00
parent 7966e75726
commit 3193cccb7d
15 changed files with 52 additions and 32 deletions
+3 -3
View File
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef _SYSCAP_DEFINE_H
#define _SYSCAP_DEFINE_H
#ifndef SYSCAP_DEFINE_H
#define SYSCAP_DEFINE_H
#include <stdint.h>
@@ -554,4 +554,4 @@ const static SyscapWithNum g_arraySyscap[] = {
}
#endif /* __cplusplus */
#endif /* __cplusplus */
#endif // _SYSCAP_DEFINE_H
#endif // SYSCAP_DEFINE_H
+3 -3
View File
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef _CREATE_PCID_H
#define _CREATE_PCID_H
#ifndef CREATE_PCID_H
#define CREATE_PCID_H
#include <stdint.h>
@@ -29,7 +29,7 @@ typedef struct ProductCompatibilityID {
uint8_t osSyscap[OS_SYSCAP_BYTES];
} PCIDMain;
typedef struct pcidHeader {
typedef struct PcidHeader {
uint16_t apiVersion : 15;
uint16_t apiVersionType : 1;
uint16_t systemType : 3;