feat: add allow external syscap config header.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I0f4c2fce72bfa859c4535890d29431afab489995
This commit is contained in:
yudechen
2023-05-26 12:38:14 +08:00
parent e29559b804
commit a63bc6f15c
9 changed files with 274 additions and 8 deletions
+6 -1
View File
@@ -23,9 +23,14 @@
#include "securec.h"
#include "cJSON.h"
#include "endian_internal.h"
#include "syscap_define.h"
#include "create_pcid.h"
#ifdef SYSCAP_DEFINE_EXTERN_ENABLE
#include "syscap_define_custom.h"
#else
#include "syscap_define.h"
#endif
#define SYSCAP_PREFIX_LEN 17
#define SINGLE_FEAT_LEN (SINGLE_SYSCAP_LEN - SYSCAP_PREFIX_LEN)
#define PCID_OUT_BUFFER 32
+6 -1
View File
@@ -24,10 +24,15 @@
#include "securec.h"
#include "endian_internal.h"
#include "cJSON.h"
#include "syscap_define.h"
#include "create_pcid.h"
#include "syscap_tool.h"
#ifdef SYSCAP_DEFINE_EXTERN_ENABLE
#include "syscap_define_custom.h"
#else
#include "syscap_define.h"
#endif
typedef struct RequiredProductCompatibilityIDHead {
uint16_t apiVersion : 15;
uint16_t apiVersionType : 1;