asm-offsets.c (ab1c247094e323177a578b38f0325bf79f0317ac) | asm-offsets.c (5fa31af31e726c7f5a8f84800153054ca499338a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Generate definitions needed by assembly language modules. 4 * This code generates raw asm output which is post-processed to extract 5 * and format the required data. 6 */ 7#define COMPILE_OFFSETS 8 --- 95 unchanged lines hidden (view full) --- 104 DEFINE(MASK_entry_stack, (~(sizeof(struct entry_stack) - 1))); 105 106 /* Offset for fields in tss_struct */ 107 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); 108 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); 109 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); 110 OFFSET(X86_top_of_stack, pcpu_hot, top_of_stack); 111 OFFSET(X86_current_task, pcpu_hot, current_task); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Generate definitions needed by assembly language modules. 4 * This code generates raw asm output which is post-processed to extract 5 * and format the required data. 6 */ 7#define COMPILE_OFFSETS 8 --- 95 unchanged lines hidden (view full) --- 104 DEFINE(MASK_entry_stack, (~(sizeof(struct entry_stack) - 1))); 105 106 /* Offset for fields in tss_struct */ 107 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); 108 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); 109 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); 110 OFFSET(X86_top_of_stack, pcpu_hot, top_of_stack); 111 OFFSET(X86_current_task, pcpu_hot, current_task); |
112#ifdef CONFIG_CALL_DEPTH_TRACKING | 112#ifdef CONFIG_MITIGATION_CALL_DEPTH_TRACKING |
113 OFFSET(X86_call_depth, pcpu_hot, call_depth); 114#endif 115#if IS_ENABLED(CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64) 116 /* Offset for fields in aria_ctx */ 117 BLANK(); 118 OFFSET(ARIA_CTX_enc_key, aria_ctx, enc_key); 119 OFFSET(ARIA_CTX_dec_key, aria_ctx, dec_key); 120 OFFSET(ARIA_CTX_rounds, aria_ctx, rounds); 121#endif 122 123} | 113 OFFSET(X86_call_depth, pcpu_hot, call_depth); 114#endif 115#if IS_ENABLED(CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64) 116 /* Offset for fields in aria_ctx */ 117 BLANK(); 118 OFFSET(ARIA_CTX_enc_key, aria_ctx, enc_key); 119 OFFSET(ARIA_CTX_dec_key, aria_ctx, dec_key); 120 OFFSET(ARIA_CTX_rounds, aria_ctx, rounds); 121#endif 122 123} |