arch/x86/include/asm/jailhouse_para.h

Source file repositories/reference/linux-study-clean/arch/x86/include/asm/jailhouse_para.h

File Facts

System
Linux kernel
Corpus path
arch/x86/include/asm/jailhouse_para.h
Extension
.h
Size
449 bytes
Lines
27
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _ASM_X86_JAILHOUSE_PARA_H
#define _ASM_X86_JAILHOUSE_PARA_H

#include <linux/types.h>

#ifdef CONFIG_JAILHOUSE_GUEST
bool jailhouse_paravirt(void);
#else
static inline bool jailhouse_paravirt(void)
{
	return false;
}
#endif

#endif /* _ASM_X86_JAILHOUSE_PARA_H */

Annotation

Implementation Notes