Linux Kernel-TI宏定义

来源:互联网 发布:如何给php代码加密 编辑:程序博客网 时间:2024/04/28 10:27

//include/generated/asm-offsets.h

#define TSK_ACTIVE_MM 420 /* offsetof(struct task_struct, active_mm)    @ */#define TI_FLAGS 0 /* offsetof(struct thread_info, flags)   @ */#define TI_IPIPE 528 /* offsetof(struct thread_info, ipipe_flags)   @ */#define TI_PREEMPT 4 /* offsetof(struct thread_info, preempt_count) @ */#define TI_ADDR_LIMIT 8 /* offsetof(struct thread_info, addr_limit) @ */#define TI_TASK 12 /* offsetof(struct thread_info, task)    @ */#define TI_CPU 16 /* offsetof(struct thread_info, cpu)  @ */#define TI_CPU_DOMAIN 20 /* offsetof(struct thread_info, cpu_domain)    @ */#define TI_CPU_SAVE 24 /* offsetof(struct thread_info, cpu_context) @ */#define TI_USED_CP 76 /* offsetof(struct thread_info, used_cp)  @ */#define TI_TP_VALUE 92 /* offsetof(struct thread_info, tp_value)    @ */#define TI_FPSTATE 104 /* offsetof(struct thread_info, fpstate) @ */#define TI_IPIPE 528 /* offsetof(struct thread_info, ipipe_flags)   @ */#define TI_VFPSTATE 248 /* offsetof(struct thread_info, vfpstate)   @ */#define VFP_CPU 272 /* offsetof(union vfp_state, hard.cpu)  @ */
0 0
原创粉丝点击