diff options
Diffstat (limited to 'linux/arch/um/include/shared/skas')
-rw-r--r-- | linux/arch/um/include/shared/skas/mm_id.h | 17 | ||||
-rw-r--r-- | linux/arch/um/include/shared/skas/skas.h | 19 | ||||
-rw-r--r-- | linux/arch/um/include/shared/skas/stub-data.h | 18 |
3 files changed, 54 insertions, 0 deletions
diff --git a/linux/arch/um/include/shared/skas/mm_id.h b/linux/arch/um/include/shared/skas/mm_id.h new file mode 100644 index 00000000..48dd0989 --- /dev/null +++ b/linux/arch/um/include/shared/skas/mm_id.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2005 Jeff Dike (jdike@karaya.com) + * Licensed under the GPL + */ + +#ifndef __MM_ID_H +#define __MM_ID_H + +struct mm_id { + union { + int mm_fd; + int pid; + } u; + unsigned long stack; +}; + +#endif diff --git a/linux/arch/um/include/shared/skas/skas.h b/linux/arch/um/include/shared/skas/skas.h new file mode 100644 index 00000000..911f3c45 --- /dev/null +++ b/linux/arch/um/include/shared/skas/skas.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) + * Licensed under the GPL + */ + +#ifndef __SKAS_H +#define __SKAS_H + +#include <sysdep/ptrace.h> + +extern int userspace_pid[]; + +extern int user_thread(unsigned long stack, int flags); +extern void new_thread_handler(void); +extern void handle_syscall(struct uml_pt_regs *regs); +extern long execute_syscall_skas(void *r); +extern unsigned long current_stub_stack(void); + +#endif diff --git a/linux/arch/um/include/shared/skas/stub-data.h b/linux/arch/um/include/shared/skas/stub-data.h new file mode 100644 index 00000000..f6ed92c3 --- /dev/null +++ b/linux/arch/um/include/shared/skas/stub-data.h @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2005 Jeff Dike (jdike@karaya.com) + * Licensed under the GPL + */ + +#ifndef __STUB_DATA_H +#define __STUB_DATA_H + +#include <sys/time.h> + +struct stub_data { + long offset; + int fd; + struct itimerval timer; + long err; +}; + +#endif |