asm-offsets.c (12c3dca25d2fa17a101de0d80bf3f238b1cecbae) | asm-offsets.c (4e57a4ddf6b0d9cce1cf2ffd153df1ad3c2c9cc2) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 1995-2003 Russell King 4 * 2001-2002 Keith Owens 5 * 6 * Generate definitions needed by assembly language modules. 7 * This code generates raw asm output which is post-processed to extract 8 * and format the required data. --- 34 unchanged lines hidden (view full) --- 43 BLANK(); 44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); 46 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); 47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 48 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 49 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); 50 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 1995-2003 Russell King 4 * 2001-2002 Keith Owens 5 * 6 * Generate definitions needed by assembly language modules. 7 * This code generates raw asm output which is post-processed to extract 8 * and format the required data. --- 34 unchanged lines hidden (view full) --- 43 BLANK(); 44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); 46 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); 47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 48 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 49 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); 50 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); |
51 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); |
|
51 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); 52 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); 53 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); 54#ifdef CONFIG_VFP 55 DEFINE(TI_VFPSTATE, offsetof(struct thread_info, vfpstate)); 56#ifdef CONFIG_SMP 57 DEFINE(VFP_CPU, offsetof(union vfp_state, hard.cpu)); 58#endif 59#endif 60#ifdef CONFIG_ARM_THUMBEE 61 DEFINE(TI_THUMBEE_STATE, offsetof(struct thread_info, thumbee_state)); 62#endif 63#ifdef CONFIG_IWMMXT 64 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); 65#endif | 52 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); 53 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); 54 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); 55#ifdef CONFIG_VFP 56 DEFINE(TI_VFPSTATE, offsetof(struct thread_info, vfpstate)); 57#ifdef CONFIG_SMP 58 DEFINE(VFP_CPU, offsetof(union vfp_state, hard.cpu)); 59#endif 60#endif 61#ifdef CONFIG_ARM_THUMBEE 62 DEFINE(TI_THUMBEE_STATE, offsetof(struct thread_info, thumbee_state)); 63#endif 64#ifdef CONFIG_IWMMXT 65 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); 66#endif |
67#ifdef CONFIG_CRUNCH 68 DEFINE(TI_CRUNCH_STATE, offsetof(struct thread_info, crunchstate)); 69#endif |
|
66#ifdef CONFIG_STACKPROTECTOR_PER_TASK 67 DEFINE(TI_STACK_CANARY, offsetof(struct thread_info, stack_canary)); 68#endif 69 DEFINE(THREAD_SZ_ORDER, THREAD_SIZE_ORDER); 70 BLANK(); 71 DEFINE(S_R0, offsetof(struct pt_regs, ARM_r0)); 72 DEFINE(S_R1, offsetof(struct pt_regs, ARM_r1)); 73 DEFINE(S_R2, offsetof(struct pt_regs, ARM_r2)); --- 106 unchanged lines hidden --- | 70#ifdef CONFIG_STACKPROTECTOR_PER_TASK 71 DEFINE(TI_STACK_CANARY, offsetof(struct thread_info, stack_canary)); 72#endif 73 DEFINE(THREAD_SZ_ORDER, THREAD_SIZE_ORDER); 74 BLANK(); 75 DEFINE(S_R0, offsetof(struct pt_regs, ARM_r0)); 76 DEFINE(S_R1, offsetof(struct pt_regs, ARM_r1)); 77 DEFINE(S_R2, offsetof(struct pt_regs, ARM_r2)); --- 106 unchanged lines hidden --- |