arch/riscv/include/asm/paravirt.h

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/paravirt.h
Extension
.h
Size
267 bytes
Lines
15
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

#ifndef _ASM_RISCV_PARAVIRT_H
#define _ASM_RISCV_PARAVIRT_H

#ifdef CONFIG_PARAVIRT

int __init pv_time_init(void);

#else

#define pv_time_init() do {} while (0)

#endif /* CONFIG_PARAVIRT */
#endif /* _ASM_RISCV_PARAVIRT_H */

Annotation

Implementation Notes