Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang. Bug: 18937958 Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
This commit is contained in:
@@ -21,33 +21,33 @@
|
||||
#include <linux/atmapi.h>
|
||||
#include <linux/atmioc.h>
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define ZATM_GETPOOL _IOW('a',ATMIOC_SARPRV+1,struct atmif_sioc)
|
||||
#define ZATM_GETPOOLZ _IOW('a',ATMIOC_SARPRV+2,struct atmif_sioc)
|
||||
#define ZATM_SETPOOL _IOW('a',ATMIOC_SARPRV+3,struct atmif_sioc)
|
||||
#define ZATM_GETPOOL _IOW('a', ATMIOC_SARPRV + 1, struct atmif_sioc)
|
||||
#define ZATM_GETPOOLZ _IOW('a', ATMIOC_SARPRV + 2, struct atmif_sioc)
|
||||
#define ZATM_SETPOOL _IOW('a', ATMIOC_SARPRV + 3, struct atmif_sioc)
|
||||
struct zatm_pool_info {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int ref_count;
|
||||
int low_water,high_water;
|
||||
int rqa_count,rqu_count;
|
||||
int offset,next_off;
|
||||
int ref_count;
|
||||
int low_water, high_water;
|
||||
int rqa_count, rqu_count;
|
||||
int offset, next_off;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int next_cnt,next_thres;
|
||||
int next_cnt, next_thres;
|
||||
};
|
||||
struct zatm_pool_req {
|
||||
int pool_num;
|
||||
int pool_num;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct zatm_pool_info info;
|
||||
struct zatm_pool_info info;
|
||||
};
|
||||
struct zatm_t_hist {
|
||||
struct timeval real;
|
||||
struct timeval real;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct timeval expected;
|
||||
struct timeval expected;
|
||||
};
|
||||
#define ZATM_OAM_POOL 0
|
||||
#define ZATM_AAL0_POOL 1
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define ZATM_AAL5_POOL_BASE 2
|
||||
#define ZATM_LAST_POOL ZATM_AAL5_POOL_BASE+10
|
||||
#define ZATM_LAST_POOL ZATM_AAL5_POOL_BASE + 10
|
||||
#define ZATM_TIMER_HISTORY_SIZE 16
|
||||
#endif
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
|
||||
Reference in New Issue
Block a user