mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 20:29:57 -04:00
feat: add allow external syscap config header.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I0f4c2fce72bfa859c4535890d29431afab489995
This commit is contained in:
+6
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user