2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
6 #ifndef __MODE_SKAS_H__
7 #define __MODE_SKAS_H__
9 #include <sysdep/ptrace.h>
11 extern unsigned long exec_regs[];
12 extern unsigned long exec_fp_regs[];
13 extern unsigned long exec_fpx_regs[];
14 extern int have_fpx_regs;
16 extern void user_time_init_skas(void);
17 extern int copy_sc_from_user_skas(int pid, union uml_pt_regs *regs,
19 extern int copy_sc_to_user_skas(int pid, void *to_ptr, void *fp,
20 union uml_pt_regs *regs,
21 unsigned long fault_addr, int fault_type);
22 extern void sig_handler_common_skas(int sig, void *sc_ptr);
23 extern void halt_skas(void);
24 extern void reboot_skas(void);
25 extern void kill_off_processes_skas(void);
26 extern int is_skas_winch(int pid, int fd, void *data);
31 * Overrides for Emacs so that we follow Linus's tabbing style.
32 * Emacs will notice this stuff at the end of the file and automatically
33 * adjust the settings for this buffer only. This must remain at the end
35 * ---------------------------------------------------------------------------
37 * c-file-style: "linux"