drm: add 32/64 support for MGA/R128/i915
[deliverable/linux.git] / arch / um / kernel / skas / include / skas.h
1 /*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.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 void switch_threads(void *me, void *next);
14 extern void thread_wait(void *sw, void *fb);
15 extern void new_thread(void *stack, void **switch_buf_ptr, void **fork_buf_ptr,
16 void (*handler)(int));
17 extern int start_idle_thread(void *stack, void *switch_buf_ptr,
18 void **fork_buf_ptr);
19 extern int user_thread(unsigned long stack, int flags);
20 extern void userspace(union uml_pt_regs *regs);
21 extern void new_thread_proc(void *stack, void (*handler)(int sig));
22 extern void remove_sigstack(void);
23 extern void new_thread_handler(int sig);
24 extern void handle_syscall(union uml_pt_regs *regs);
25 extern void map(int fd, unsigned long virt, unsigned long len, int r, int w,
26 int x, int phys_fd, unsigned long long offset);
27 extern int unmap(int fd, void *addr, unsigned long len);
28 extern int protect(int fd, unsigned long addr, unsigned long len,
29 int r, int w, int x);
30 extern void user_signal(int sig, union uml_pt_regs *regs, int pid);
31 extern int new_mm(int from);
32 extern void start_userspace(int cpu);
33 extern void get_skas_faultinfo(int pid, struct faultinfo * fi);
34 extern long execute_syscall_skas(void *r);
35
36 #endif
37
38 /*
39 * Overrides for Emacs so that we follow Linus's tabbing style.
40 * Emacs will notice this stuff at the end of the file and automatically
41 * adjust the settings for this buffer only. This must remain at the end
42 * of the file.
43 * ---------------------------------------------------------------------------
44 * Local variables:
45 * c-file-style: "linux"
46 * End:
47 */
This page took 0.031385 seconds and 5 git commands to generate.