arch/riscv/include/asm/kvm_vcpu_config.h

Source file repositories/reference/linux-study-clean/arch/riscv/include/asm/kvm_vcpu_config.h

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/kvm_vcpu_config.h
Extension
.h
Size
565 bytes
Lines
26
Domain
Architecture Layer
Bucket
arch/riscv
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct kvm_vcpu_config {
	u64 henvcfg;
	u64 hstateen0;
	unsigned long hedeleg;
	unsigned long hideleg;
};

void kvm_riscv_vcpu_config_init(struct kvm_vcpu *vcpu);
void kvm_riscv_vcpu_config_guest_debug(struct kvm_vcpu *vcpu);
void kvm_riscv_vcpu_config_ran_once(struct kvm_vcpu *vcpu);
void kvm_riscv_vcpu_config_load(struct kvm_vcpu *vcpu);

#endif

Annotation

Implementation Notes