arch/x86/kvm/vmx/vmx_onhyperv.h
Source file repositories/reference/linux-study-clean/arch/x86/kvm/vmx/vmx_onhyperv.h
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/kvm/vmx/vmx_onhyperv.h- Extension
.h- Size
- 3574 bytes
- Lines
- 134
- Domain
- Architecture Layer
- Bucket
- arch/x86
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
hyperv/hvhdk.hasm/mshyperv.hlinux/jump_label.hcapabilities.hhyperv_evmcs.hvmcs12.h
Detected Declarations
function kvm_is_using_evmcsfunction get_evmcs_offsetfunction evmcs_write64function evmcs_write32function evmcs_write16function evmcs_read64function evmcs_read32function evmcs_read16function evmcs_loadfunction kvm_is_using_evmcsfunction evmcs_write64function evmcs_read32function evmcs_read16function evmcs_load
Annotated Snippet
static __always_inline bool kvm_is_using_evmcs(void) { return false; }
static __always_inline void evmcs_write64(unsigned long field, u64 value) {}
static __always_inline void evmcs_write32(unsigned long field, u32 value) {}
static __always_inline void evmcs_write16(unsigned long field, u16 value) {}
static __always_inline u64 evmcs_read64(unsigned long field) { return 0; }
static __always_inline u32 evmcs_read32(unsigned long field) { return 0; }
static __always_inline u16 evmcs_read16(unsigned long field) { return 0; }
static inline void evmcs_load(u64 phys_addr) {}
#endif /* IS_ENABLED(CONFIG_HYPERV) */
#endif /* __ARCH_X86_KVM_VMX_ONHYPERV_H__ */
Annotation
- Immediate include surface: `hyperv/hvhdk.h`, `asm/mshyperv.h`, `linux/jump_label.h`, `capabilities.h`, `hyperv_evmcs.h`, `vmcs12.h`.
- Detected declarations: `function kvm_is_using_evmcs`, `function get_evmcs_offset`, `function evmcs_write64`, `function evmcs_write32`, `function evmcs_write16`, `function evmcs_read64`, `function evmcs_read32`, `function evmcs_read16`, `function evmcs_load`, `function kvm_is_using_evmcs`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.