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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index 7f27dfe0ecac..624938ad9e14 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -190,7 +190,6 @@ extern int os_protect_memory(void *addr, unsigned long len,
190 int r, int w, int x); 190 int r, int w, int x);
191extern int os_unmap_memory(void *addr, int len); 191extern int os_unmap_memory(void *addr, int len);
192extern void os_flush_stdout(void); 192extern void os_flush_stdout(void);
193extern unsigned long long os_usecs(void);
194 193
195/* tt.c 194/* tt.c
196 * for tt mode only (will be deleted in future...) 195 * for tt mode only (will be deleted in future...)
@@ -245,4 +244,15 @@ extern void setup_machinename(char *machine_out);
245extern void setup_hostinfo(void); 244extern void setup_hostinfo(void);
246extern int setjmp_wrapper(void (*proc)(void *, void *), ...); 245extern int setjmp_wrapper(void (*proc)(void *, void *), ...);
247 246
247/* time.c */
248#define BILLION (1000 * 1000 * 1000)
249
250extern void switch_timers(int to_real);
251extern void idle_sleep(int secs);
252extern void enable_timer(void);
253extern void disable_timer(void);
254extern void user_time_init(void);
255extern void uml_idle_timer(void);
256extern unsigned long long os_nsecs(void);
257
248#endif 258#endif