aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/proto.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 05:20:03 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 05:20:03 -0400
commit96a388de5dc53a8b234b3fd41f3ae2cedc9ffd42 (patch)
treed947a467aa2da3140279617bc4b9b101640d7bf4 /include/asm-x86/proto.h
parent27bd0c955648646abf2a353a8371d28c37bcd982 (diff)
i386/x86_64: move headers to include/asm-x86
Move the headers to include/asm-x86 and fixup the header install make rules Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/proto.h')
-rw-r--r--include/asm-x86/proto.h104
1 files changed, 104 insertions, 0 deletions
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h
new file mode 100644
index 000000000000..31f20ad65876
--- /dev/null
+++ b/include/asm-x86/proto.h
@@ -0,0 +1,104 @@
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
8struct cpuinfo_x86;
9struct pt_regs;
10
11extern void start_kernel(void);
12extern void pda_init(int);
13
14extern void early_idt_handler(void);
15
16extern void mcheck_init(struct cpuinfo_x86 *c);
17extern void init_memory_mapping(unsigned long start, unsigned long end);
18
19extern void system_call(void);
20extern int kernel_syscall(void);
21extern void syscall_init(void);
22
23extern void ia32_syscall(void);
24extern void ia32_cstar_target(void);
25extern void ia32_sysenter_target(void);
26
27extern void config_acpi_tables(void);
28extern void ia32_syscall(void);
29
30extern int pmtimer_mark_offset(void);
31extern void pmtimer_resume(void);
32extern void pmtimer_wait(unsigned);
33extern unsigned int do_gettimeoffset_pm(void);
34#ifdef CONFIG_X86_PM_TIMER
35extern u32 pmtmr_ioport;
36#else
37#define pmtmr_ioport 0
38#endif
39extern int nohpet;
40
41extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
42
43extern void early_identify_cpu(struct cpuinfo_x86 *c);
44
45extern int k8_scan_nodes(unsigned long start, unsigned long end);
46
47extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
48extern unsigned long numa_free_all_bootmem(void);
49
50extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
51
52extern void load_gs_index(unsigned gs);
53
54extern void stop_timer_interrupt(void);
55extern void main_timer_handler(void);
56
57extern unsigned long end_pfn_map;
58
59extern void show_trace(struct task_struct *, struct pt_regs *, unsigned long * rsp);
60extern void show_registers(struct pt_regs *regs);
61
62extern void exception_table_check(void);
63
64extern void acpi_reserve_bootmem(void);
65
66extern void swap_low_mappings(void);
67
68extern void __show_regs(struct pt_regs * regs);
69extern void show_regs(struct pt_regs * regs);
70
71extern void syscall32_cpu_init(void);
72
73extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);
74
75extern void early_quirks(void);
76extern void check_efer(void);
77
78extern void select_idle_routine(const struct cpuinfo_x86 *c);
79
80extern unsigned long table_start, table_end;
81
82extern int exception_trace;
83extern unsigned cpu_khz;
84extern unsigned tsc_khz;
85
86extern int reboot_force;
87extern int notsc_setup(char *);
88
89extern int timer_over_8254;
90
91extern int gsi_irq_sharing(int gsi);
92
93extern void smp_local_timer_interrupt(void);
94
95extern int force_mwait;
96
97long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
98
99void i8254_timer_resume(void);
100
101#define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
102#define round_down(x,y) ((x) & ~((y)-1))
103
104#endif