arch/um/include/asm/pgtable-2level.h

Source file repositories/reference/linux-study-clean/arch/um/include/asm/pgtable-2level.h

File Facts

System
Linux kernel
Corpus path
arch/um/include/asm/pgtable-2level.h
Extension
.h
Size
1230 bytes
Lines
43
Domain
Architecture Layer
Bucket
arch/um
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

static inline int pgd_needsync(pgd_t pgd)	{ return 0; }
static inline void pgd_mkuptodate(pgd_t pgd)	{ }

#define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval))

#define pte_pfn(x) phys_to_pfn(pte_val(x))
#define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))

#endif

Annotation

Implementation Notes