mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-19 13:45:54 +00:00
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
36 lines
812 B
C
36 lines
812 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Common Hyper-V on KVM and KVM on Hyper-V definitions (SVM).
|
|
*/
|
|
|
|
#ifndef __ARCH_X86_KVM_SVM_HYPERV_H__
|
|
#define __ARCH_X86_KVM_SVM_HYPERV_H__
|
|
|
|
#include <asm/mshyperv.h>
|
|
|
|
#include "../hyperv.h"
|
|
|
|
/*
|
|
* Hyper-V uses the software reserved 32 bytes in VMCB
|
|
* control area to expose SVM enlightenments to guests.
|
|
*/
|
|
struct hv_enlightenments {
|
|
struct __packed hv_enlightenments_control {
|
|
u32 nested_flush_hypercall:1;
|
|
u32 msr_bitmap:1;
|
|
u32 enlightened_npt_tlb: 1;
|
|
u32 reserved:29;
|
|
} __packed hv_enlightenments_control;
|
|
u32 hv_vp_id;
|
|
u64 hv_vm_id;
|
|
u64 partition_assist_page;
|
|
u64 reserved;
|
|
} __packed;
|
|
|
|
/*
|
|
* Hyper-V uses the software reserved clean bit in VMCB
|
|
*/
|
|
#define VMCB_HV_NESTED_ENLIGHTENMENTS VMCB_SW
|
|
|
|
#endif /* __ARCH_X86_KVM_SVM_HYPERV_H__ */
|