vserver 1.9.3
[linux-2.6.git] / arch / um / kernel / skas / include / mode.h
1 /* 
2  * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __MODE_SKAS_H__
7 #define __MODE_SKAS_H__
8
9 extern unsigned long exec_regs[];
10 extern unsigned long exec_fp_regs[];
11 extern unsigned long exec_fpx_regs[];
12 extern int have_fpx_regs;
13
14 extern void user_time_init_skas(void);
15 extern int copy_sc_from_user_skas(int pid, union uml_pt_regs *regs,
16                                   void *from_ptr);
17 extern int copy_sc_to_user_skas(int pid, void *to_ptr, void *fp,
18                                 union uml_pt_regs *regs, 
19                                 unsigned long fault_addr, int fault_type);
20 extern void sig_handler_common_skas(int sig, void *sc_ptr);
21 extern void halt_skas(void);
22 extern void reboot_skas(void);
23 extern void kill_off_processes_skas(void);
24 extern int is_skas_winch(int pid, int fd, void *data);
25
26 #endif
27
28 /*
29  * Overrides for Emacs so that we follow Linus's tabbing style.
30  * Emacs will notice this stuff at the end of the file and automatically
31  * adjust the settings for this buffer only.  This must remain at the end
32  * of the file.
33  * ---------------------------------------------------------------------------
34  * Local variables:
35  * c-file-style: "linux"
36  * End:
37  */