aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r--arch/um/include/os.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index dd72d66cf0ed..7f27dfe0ecac 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -195,6 +195,8 @@ extern unsigned long long os_usecs(void);
195/* tt.c 195/* tt.c
196 * for tt mode only (will be deleted in future...) 196 * for tt mode only (will be deleted in future...)
197 */ 197 */
198extern void stop(void);
199extern int wait_for_stop(int pid, int sig, int cont_type, void *relay);
198extern int protect_memory(unsigned long addr, unsigned long len, 200extern int protect_memory(unsigned long addr, unsigned long len,
199 int r, int w, int x, int must_succeed); 201 int r, int w, int x, int must_succeed);
200extern void forward_pending_sigio(int target); 202extern void forward_pending_sigio(int target);
@@ -235,4 +237,12 @@ extern int set_signals(int enable);
235extern void os_fill_handlinfo(struct kern_handlers h); 237extern void os_fill_handlinfo(struct kern_handlers h);
236extern void do_longjmp(void *p, int val); 238extern void do_longjmp(void *p, int val);
237 239
240/* util.c */
241extern void stack_protections(unsigned long address);
242extern void task_protections(unsigned long address);
243extern int raw(int fd);
244extern void setup_machinename(char *machine_out);
245extern void setup_hostinfo(void);
246extern int setjmp_wrapper(void (*proc)(void *, void *), ...);
247
238#endif 248#endif