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

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/kvm/hyp/include/nvhe/early_alloc.h
Extension
.h
Size
437 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

#ifndef __KVM_HYP_EARLY_ALLOC_H
#define __KVM_HYP_EARLY_ALLOC_H

#include <asm/kvm_pgtable.h>

void hyp_early_alloc_init(void *virt, unsigned long size);
unsigned long hyp_early_alloc_nr_used_pages(void);
void *hyp_early_alloc_page(void *arg);
void *hyp_early_alloc_contig(unsigned int nr_pages);

extern struct kvm_pgtable_mm_ops hyp_early_alloc_mm_ops;

#endif /* __KVM_HYP_EARLY_ALLOC_H */

Annotation

Implementation Notes