asm-offsets.c (5f8f8574c7f5585b09a9623f0f13462e4eb67b4d) | asm-offsets.c (c063a217bc0726c2560138229de5673dbb253a02) |
---|---|
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(SIZEOF_entry_stack, sizeof(struct entry_stack)); 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 | 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(SIZEOF_entry_stack, sizeof(struct entry_stack)); 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 |
|
112 if (IS_ENABLED(CONFIG_KVM_INTEL)) { 113 BLANK(); 114 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); 115 } 116} | 114 if (IS_ENABLED(CONFIG_KVM_INTEL)) { 115 BLANK(); 116 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); 117 } 118} |