]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | |
3 | * Licensed under the GPL | |
4 | */ | |
5 | ||
6 | #ifndef __TT_MODE_KERN_H__ | |
7 | #define __TT_MODE_KERN_H__ | |
8 | ||
9 | #include "linux/sched.h" | |
10 | #include "asm/page.h" | |
11 | #include "asm/ptrace.h" | |
12 | #include "asm/uaccess.h" | |
13 | ||
14 | extern void *switch_to_tt(void *prev, void *next); | |
15 | extern void flush_thread_tt(void); | |
16 | extern void start_thread_tt(struct pt_regs *regs, unsigned long eip, | |
17 | unsigned long esp); | |
18 | extern int copy_thread_tt(int nr, unsigned long clone_flags, unsigned long sp, | |
19 | unsigned long stack_top, struct task_struct *p, | |
20 | struct pt_regs *regs); | |
21 | extern void release_thread_tt(struct task_struct *task); | |
22 | extern void exit_thread_tt(void); | |
23 | extern void initial_thread_cb_tt(void (*proc)(void *), void *arg); | |
24 | extern void init_idle_tt(void); | |
25 | extern void flush_tlb_kernel_range_tt(unsigned long start, unsigned long end); | |
26 | extern void flush_tlb_kernel_vm_tt(void); | |
27 | extern void __flush_tlb_one_tt(unsigned long addr); | |
28 | extern void flush_tlb_range_tt(struct vm_area_struct *vma, | |
29 | unsigned long start, unsigned long end); | |
30 | extern void flush_tlb_mm_tt(struct mm_struct *mm); | |
31 | extern void force_flush_all_tt(void); | |
32 | extern long execute_syscall_tt(void *r); | |
33 | extern void before_mem_tt(unsigned long brk_start); | |
34 | extern unsigned long set_task_sizes_tt(int arg, unsigned long *host_size_out, | |
35 | unsigned long *task_size_out); | |
36 | extern int start_uml_tt(void); | |
37 | extern int external_pid_tt(struct task_struct *task); | |
38 | extern int thread_pid_tt(struct task_struct *task); | |
39 | ||
40 | #define kmem_end_tt (host_task_size - ABOVE_KMEM) | |
41 | ||
42 | #endif | |
43 | ||
44 | /* | |
45 | * Overrides for Emacs so that we follow Linus's tabbing style. | |
46 | * Emacs will notice this stuff at the end of the file and automatically | |
47 | * adjust the settings for this buffer only. This must remain at the end | |
48 | * of the file. | |
49 | * --------------------------------------------------------------------------- | |
50 | * Local variables: | |
51 | * c-file-style: "linux" | |
52 | * End: | |
53 | */ |