asm-offsets.c (c063a217bc0726c2560138229de5673dbb253a02) | asm-offsets.c (5d8213864ade86b48fc492584ea86d65a62f892e) |
---|---|
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 --- 96 unchanged lines hidden (view full) --- 105 DEFINE(MASK_entry_stack, (~(sizeof(struct entry_stack) - 1))); 106 107 /* Offset for fields in tss_struct */ 108 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); 109 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); 110 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); 111 112 OFFSET(X86_top_of_stack, pcpu_hot, top_of_stack); | 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 --- 96 unchanged lines hidden (view full) --- 105 DEFINE(MASK_entry_stack, (~(sizeof(struct entry_stack) - 1))); 106 107 /* Offset for fields in tss_struct */ 108 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); 109 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); 110 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); 111 112 OFFSET(X86_top_of_stack, pcpu_hot, top_of_stack); |
113#ifdef CONFIG_CALL_DEPTH_TRACKING 114 OFFSET(X86_call_depth, pcpu_hot, call_depth); 115#endif |
|
113 114 if (IS_ENABLED(CONFIG_KVM_INTEL)) { 115 BLANK(); 116 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); 117 } 118} | 116 117 if (IS_ENABLED(CONFIG_KVM_INTEL)) { 118 BLANK(); 119 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); 120 } 121} |