xref: /openbmc/linux/arch/um/include/shared/skas/skas.h (revision 8730046c)
1 /*
2  * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3  * Licensed under the GPL
4  */
5 
6 #ifndef __SKAS_H
7 #define __SKAS_H
8 
9 #include <sysdep/ptrace.h>
10 
11 extern int userspace_pid[];
12 
13 extern int user_thread(unsigned long stack, int flags);
14 extern void new_thread_handler(void);
15 extern void handle_syscall(struct uml_pt_regs *regs);
16 extern long execute_syscall_skas(void *r);
17 extern unsigned long current_stub_stack(void);
18 
19 #endif
20