/* * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __START_H__ #define __START_H__ #include <generated/asm-offsets.h> /* * Stolen from linux/const.h, which can't be directly included since * this is used in userspace code, which has no access to the kernel * headers. Changed to be suitable for adding casts to the start, * rather than "UL" to the end. */ /* Some constant macros are used in both assembler and * C code. Therefore we cannot annotate them always with * 'UL' and other type specifiers unilaterally. We * use the following macros to deal with this. */ #ifdef __ASSEMBLY__ #define _UML_AC(X, Y) (Y) #else #define __UML_AC(X, Y) (X(Y)) #define _UML_AC(X, Y) __UML_AC(X, Y) #endif #define STUB_START _UML_AC(, 0x100000) #define STUB_CODE _UML_AC((unsigned long), STUB_START) #define STUB_DATA _UML_AC((unsigned long), STUB_CODE + UM_KERN_PAGE_SIZE) #define STUB_END _UML_AC((unsigned long), STUB_DATA + UM_KERN_PAGE_SIZE) #ifndef __ASSEMBLY__ #include <sysdep/ptrace.h> struct cpu_task { int pid; void *task; }; extern struct cpu_task cpu_tasks[]; extern unsigned long high_physmem; extern unsigned long uml_physmem; extern unsigned long uml_reserved; extern unsigned long end_vm; extern unsigned long start_vm; extern unsigned long long highmem; extern unsigned long brk_start; extern unsigned long host_task_size; extern int linux_main(int argc, char **argv); extern void uml_finishsetup(void); struct siginfo; extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *); #endif #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 |
|