diff options
Diffstat (limited to 'include/asm-x86/proto.h')
-rw-r--r-- | include/asm-x86/proto.h | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h new file mode 100644 index 000000000000..c44a3a93b5a4 --- /dev/null +++ b/include/asm-x86/proto.h | |||
@@ -0,0 +1,97 @@ | |||
1 | #ifndef _ASM_X8664_PROTO_H | ||
2 | #define _ASM_X8664_PROTO_H 1 | ||
3 | |||
4 | #include <asm/ldt.h> | ||
5 | |||
6 | /* misc architecture specific prototypes */ | ||
7 | |||
8 | struct cpuinfo_x86; | ||
9 | struct pt_regs; | ||
10 | |||
11 | extern void start_kernel(void); | ||
12 | extern void pda_init(int); | ||
13 | |||
14 | extern void early_idt_handler(void); | ||
15 | |||
16 | extern void mcheck_init(struct cpuinfo_x86 *c); | ||
17 | extern void init_memory_mapping(unsigned long start, unsigned long end); | ||
18 | |||
19 | extern void system_call(void); | ||
20 | extern int kernel_syscall(void); | ||
21 | extern void syscall_init(void); | ||
22 | |||
23 | extern void ia32_syscall(void); | ||
24 | extern void ia32_cstar_target(void); | ||
25 | extern void ia32_sysenter_target(void); | ||
26 | |||
27 | extern void config_acpi_tables(void); | ||
28 | extern void ia32_syscall(void); | ||
29 | |||
30 | extern int pmtimer_mark_offset(void); | ||
31 | extern void pmtimer_resume(void); | ||
32 | extern void pmtimer_wait(unsigned); | ||
33 | extern unsigned int do_gettimeoffset_pm(void); | ||
34 | #ifdef CONFIG_X86_PM_TIMER | ||
35 | extern u32 pmtmr_ioport; | ||
36 | #else | ||
37 | #define pmtmr_ioport 0 | ||
38 | #endif | ||
39 | extern int nohpet; | ||
40 | |||
41 | extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); | ||
42 | |||
43 | extern void early_identify_cpu(struct cpuinfo_x86 *c); | ||
44 | |||
45 | extern int k8_scan_nodes(unsigned long start, unsigned long end); | ||
46 | |||
47 | extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); | ||
48 | extern unsigned long numa_free_all_bootmem(void); | ||
49 | |||
50 | extern void reserve_bootmem_generic(unsigned long phys, unsigned len); | ||
51 | |||
52 | extern void load_gs_index(unsigned gs); | ||
53 | |||
54 | extern unsigned long end_pfn_map; | ||
55 | |||
56 | extern void show_trace(struct task_struct *, struct pt_regs *, unsigned long * rsp); | ||
57 | extern void show_registers(struct pt_regs *regs); | ||
58 | |||
59 | extern void exception_table_check(void); | ||
60 | |||
61 | extern void acpi_reserve_bootmem(void); | ||
62 | |||
63 | extern void swap_low_mappings(void); | ||
64 | |||
65 | extern void __show_regs(struct pt_regs * regs); | ||
66 | extern void show_regs(struct pt_regs * regs); | ||
67 | |||
68 | extern void syscall32_cpu_init(void); | ||
69 | |||
70 | extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end); | ||
71 | |||
72 | extern void early_quirks(void); | ||
73 | extern void check_efer(void); | ||
74 | |||
75 | extern void select_idle_routine(const struct cpuinfo_x86 *c); | ||
76 | |||
77 | extern unsigned long table_start, table_end; | ||
78 | |||
79 | extern int exception_trace; | ||
80 | extern unsigned cpu_khz; | ||
81 | extern unsigned tsc_khz; | ||
82 | |||
83 | extern int reboot_force; | ||
84 | extern int notsc_setup(char *); | ||
85 | |||
86 | extern int timer_over_8254; | ||
87 | |||
88 | extern int gsi_irq_sharing(int gsi); | ||
89 | |||
90 | extern int force_mwait; | ||
91 | |||
92 | long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); | ||
93 | |||
94 | #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1)) | ||
95 | #define round_down(x,y) ((x) & ~((y)-1)) | ||
96 | |||
97 | #endif | ||