arch/um/include/shared/mem_user.h

Source file repositories/reference/linux-study-clean/arch/um/include/shared/mem_user.h

File Facts

System
Linux kernel
Corpus path
arch/um/include/shared/mem_user.h
Extension
.h
Size
1838 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

#ifndef _MEM_USER_H
#define _MEM_USER_H

#define ROUND_4M(n) ((((unsigned long) (n)) + (1 << 22)) & ~((1 << 22) - 1))

extern void setup_physmem(unsigned long start, unsigned long usable,
			  unsigned long len);
extern void map_memory(unsigned long virt, unsigned long phys,
		       unsigned long len, int r, int w, int x);

#endif

Annotation

Implementation Notes