arch/arm64/kvm/hyp/include/nvhe/define_events.h

Source file repositories/reference/linux-study-clean/arch/arm64/kvm/hyp/include/nvhe/define_events.h

File Facts

System
Linux kernel
Corpus path
arch/arm64/kvm/hyp/include/nvhe/define_events.h
Extension
.h
Size
361 bytes
Lines
15
Domain
Architecture Layer
Bucket
arch/arm64
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

#undef HYP_EVENT
#define HYP_EVENT(__name, __proto, __struct, __assign, __printk)	\
	struct hyp_event_id hyp_event_id_##__name			\
	__section(".hyp.event_ids."#__name) = {				\
		.enabled = ATOMIC_INIT(0),				\
	}

#define HYP_EVENT_MULTI_READ
#include <asm/kvm_hypevents.h>
#undef HYP_EVENT_MULTI_READ

#undef HYP_EVENT

Annotation

Implementation Notes