Contributors: 9
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Paolo Bonzini |
70 |
61.40% |
6 |
42.86% |
Josh Poimboeuf |
25 |
21.93% |
1 |
7.14% |
Jan Beulich |
7 |
6.14% |
1 |
7.14% |
Jason Baron |
3 |
2.63% |
1 |
7.14% |
Christoph Lameter |
3 |
2.63% |
1 |
7.14% |
Thomas Gleixner |
2 |
1.75% |
1 |
7.14% |
Borislav Petkov |
2 |
1.75% |
1 |
7.14% |
Greg Kroah-Hartman |
1 |
0.88% |
1 |
7.14% |
Kai Germaschewski |
1 |
0.88% |
1 |
7.14% |
Total |
114 |
|
14 |
|
// SPDX-License-Identifier: GPL-2.0
/*
* Generate definitions needed by assembly language modules.
* This code generates raw asm output which is post-processed to extract
* and format the required data.
*/
#define COMPILE_OFFSETS
#include <linux/kbuild.h>
#include "vmx/vmx.h"
#include "svm/svm.h"
static void __used common(void)
{
if (IS_ENABLED(CONFIG_KVM_AMD)) {
BLANK();
OFFSET(SVM_vcpu_arch_regs, vcpu_svm, vcpu.arch.regs);
OFFSET(SVM_current_vmcb, vcpu_svm, current_vmcb);
OFFSET(SVM_spec_ctrl, vcpu_svm, spec_ctrl);
OFFSET(SVM_vmcb01, vcpu_svm, vmcb01);
OFFSET(KVM_VMCB_pa, kvm_vmcb_info, pa);
OFFSET(SD_save_area_pa, svm_cpu_data, save_area_pa);
}
if (IS_ENABLED(CONFIG_KVM_INTEL)) {
BLANK();
OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl);
}
}