/* * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __MEM_H__ #define __MEM_H__ extern int phys_mapping(unsigned long phys, unsigned long long *offset_out); extern unsigned long uml_physmem; static inline unsigned long to_phys(void *virt) { return(((unsigned long) virt) - uml_physmem); } static inline void *to_virt(unsigned long phys) { return((void *) uml_physmem + phys); } #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
skas | Folder | 0755 |
|
|
aio.h | File | 530 B | 0644 |
|
arch.h | File | 350 B | 0644 |
|
as-layout.h | File | 1.56 KB | 0644 |
|
common-offsets.h | File | 1.05 KB | 0644 |
|
elf_user.h | File | 385 B | 0644 |
|
frame_kern.h | File | 392 B | 0644 |
|
init.h | File | 3.89 KB | 0644 |
|
irq_kern.h | File | 409 B | 0644 |
|
irq_user.h | File | 652 B | 0644 |
|
kern.h | File | 569 B | 0644 |
|
kern_util.h | File | 2.1 KB | 0644 |
|
longjmp.h | File | 440 B | 0644 |
|
mem.h | File | 455 B | 0644 |
|
mem_user.h | File | 2.42 KB | 0644 |
|
net_kern.h | File | 1.81 KB | 0644 |
|
net_user.h | File | 1.6 KB | 0644 |
|
os.h | File | 10.63 KB | 0644 |
|
ptrace_user.h | File | 1.88 KB | 0644 |
|
registers.h | File | 1002 B | 0644 |
|
sigio.h | File | 271 B | 0644 |
|
timer-internal.h | File | 275 B | 0644 |
|
um_malloc.h | File | 384 B | 0644 |
|
user.h | File | 1.45 KB | 0644 |
|