asm-offsets.c (e5ee5422f8867d8b8108f8e1f0f47dc59b043f5b) | asm-offsets.c (5deb8e7ad8ac7e3fcdfa042acff617f461b361c2) |
---|---|
1/* 2 * This program is used to generate definitions needed by 3 * assembly language modules. 4 * 5 * We use the technique used in the OSF Mach kernel code: 6 * generate asm statements containing #defines, 7 * compile this file to assembler, and then extract the 8 * #defines from the assembly-language output. --- 40 unchanged lines hidden (view full) --- 49#ifdef CONFIG_PPC_POWERNV 50#include <asm/opal.h> 51#endif 52#if defined(CONFIG_KVM) || defined(CONFIG_KVM_GUEST) 53#include <linux/kvm_host.h> 54#endif 55#if defined(CONFIG_KVM) && defined(CONFIG_PPC_BOOK3S) 56#include <asm/kvm_book3s.h> | 1/* 2 * This program is used to generate definitions needed by 3 * assembly language modules. 4 * 5 * We use the technique used in the OSF Mach kernel code: 6 * generate asm statements containing #defines, 7 * compile this file to assembler, and then extract the 8 * #defines from the assembly-language output. --- 40 unchanged lines hidden (view full) --- 49#ifdef CONFIG_PPC_POWERNV 50#include <asm/opal.h> 51#endif 52#if defined(CONFIG_KVM) || defined(CONFIG_KVM_GUEST) 53#include <linux/kvm_host.h> 54#endif 55#if defined(CONFIG_KVM) && defined(CONFIG_PPC_BOOK3S) 56#include <asm/kvm_book3s.h> |
57#include <asm/kvm_ppc.h> |
|
57#endif 58 59#ifdef CONFIG_PPC32 60#if defined(CONFIG_BOOKE) || defined(CONFIG_40x) 61#include "head_booke.h" 62#endif 63#endif 64 --- 397 unchanged lines hidden (view full) --- 462 DEFINE(VCPU_SHARED_SPRG5, offsetof(struct kvm_vcpu_arch_shared, sprg5)); 463 DEFINE(VCPU_SHARED_SPRG6, offsetof(struct kvm_vcpu_arch_shared, sprg6)); 464 DEFINE(VCPU_SHARED_SPRG7, offsetof(struct kvm_vcpu_arch_shared, sprg7)); 465 DEFINE(VCPU_SHADOW_PID, offsetof(struct kvm_vcpu, arch.shadow_pid)); 466 DEFINE(VCPU_SHADOW_PID1, offsetof(struct kvm_vcpu, arch.shadow_pid1)); 467 DEFINE(VCPU_SHARED, offsetof(struct kvm_vcpu, arch.shared)); 468 DEFINE(VCPU_SHARED_MSR, offsetof(struct kvm_vcpu_arch_shared, msr)); 469 DEFINE(VCPU_SHADOW_MSR, offsetof(struct kvm_vcpu, arch.shadow_msr)); | 58#endif 59 60#ifdef CONFIG_PPC32 61#if defined(CONFIG_BOOKE) || defined(CONFIG_40x) 62#include "head_booke.h" 63#endif 64#endif 65 --- 397 unchanged lines hidden (view full) --- 463 DEFINE(VCPU_SHARED_SPRG5, offsetof(struct kvm_vcpu_arch_shared, sprg5)); 464 DEFINE(VCPU_SHARED_SPRG6, offsetof(struct kvm_vcpu_arch_shared, sprg6)); 465 DEFINE(VCPU_SHARED_SPRG7, offsetof(struct kvm_vcpu_arch_shared, sprg7)); 466 DEFINE(VCPU_SHADOW_PID, offsetof(struct kvm_vcpu, arch.shadow_pid)); 467 DEFINE(VCPU_SHADOW_PID1, offsetof(struct kvm_vcpu, arch.shadow_pid1)); 468 DEFINE(VCPU_SHARED, offsetof(struct kvm_vcpu, arch.shared)); 469 DEFINE(VCPU_SHARED_MSR, offsetof(struct kvm_vcpu_arch_shared, msr)); 470 DEFINE(VCPU_SHADOW_MSR, offsetof(struct kvm_vcpu, arch.shadow_msr)); |
471#if defined(CONFIG_PPC_BOOK3S_64) && defined(CONFIG_KVM_BOOK3S_PR_POSSIBLE) 472 DEFINE(VCPU_SHAREDBE, offsetof(struct kvm_vcpu, arch.shared_big_endian)); 473#endif |
|
470 471 DEFINE(VCPU_SHARED_MAS0, offsetof(struct kvm_vcpu_arch_shared, mas0)); 472 DEFINE(VCPU_SHARED_MAS1, offsetof(struct kvm_vcpu_arch_shared, mas1)); 473 DEFINE(VCPU_SHARED_MAS2, offsetof(struct kvm_vcpu_arch_shared, mas2)); 474 DEFINE(VCPU_SHARED_MAS7_3, offsetof(struct kvm_vcpu_arch_shared, mas7_3)); 475 DEFINE(VCPU_SHARED_MAS4, offsetof(struct kvm_vcpu_arch_shared, mas4)); 476 DEFINE(VCPU_SHARED_MAS6, offsetof(struct kvm_vcpu_arch_shared, mas6)); 477 --- 250 unchanged lines hidden --- | 474 475 DEFINE(VCPU_SHARED_MAS0, offsetof(struct kvm_vcpu_arch_shared, mas0)); 476 DEFINE(VCPU_SHARED_MAS1, offsetof(struct kvm_vcpu_arch_shared, mas1)); 477 DEFINE(VCPU_SHARED_MAS2, offsetof(struct kvm_vcpu_arch_shared, mas2)); 478 DEFINE(VCPU_SHARED_MAS7_3, offsetof(struct kvm_vcpu_arch_shared, mas7_3)); 479 DEFINE(VCPU_SHARED_MAS4, offsetof(struct kvm_vcpu_arch_shared, mas4)); 480 DEFINE(VCPU_SHARED_MAS6, offsetof(struct kvm_vcpu_arch_shared, mas6)); 481 --- 250 unchanged lines hidden --- |