aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/proto.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-x86_64/proto.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/asm-x86_64/proto.h')
-rw-r--r--include/asm-x86_64/proto.h118
1 files changed, 118 insertions, 0 deletions
diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h
new file mode 100644
index 000000000000..c59526ee54da
--- /dev/null
+++ b/include/asm-x86_64/proto.h
@@ -0,0 +1,118 @@
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 get_cpu_vendor(struct cpuinfo_x86*);
12extern void start_kernel(void);
13extern void pda_init(int);
14
15extern void early_idt_handler(void);
16
17extern void mcheck_init(struct cpuinfo_x86 *c);
18extern void init_memory_mapping(unsigned long start, unsigned long end);
19
20extern void system_call(void);
21extern int kernel_syscall(void);
22extern void syscall_init(void);
23
24extern void ia32_syscall(void);
25extern void ia32_cstar_target(void);
26extern void ia32_sysenter_target(void);
27
28extern void config_acpi_tables(void);
29extern void ia32_syscall(void);
30extern void iommu_hole_init(void);
31
32extern void time_init_smp(void);
33
34extern void do_softirq_thunk(void);
35
36extern int numa_setup(char *opt);
37
38extern int setup_early_printk(char *);
39extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
40
41extern void early_identify_cpu(struct cpuinfo_x86 *c);
42
43extern int k8_scan_nodes(unsigned long start, unsigned long end);
44
45extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
46extern unsigned long numa_free_all_bootmem(void);
47
48extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
49extern void free_bootmem_generic(unsigned long phys, unsigned len);
50
51extern void load_gs_index(unsigned gs);
52
53extern unsigned long end_pfn_map;
54
55extern cpumask_t cpu_initialized;
56
57extern void show_trace(unsigned long * rsp);
58extern void show_registers(struct pt_regs *regs);
59
60extern void exception_table_check(void);
61
62extern void acpi_reserve_bootmem(void);
63
64extern void swap_low_mappings(void);
65
66extern void oops_begin(void);
67extern void die(const char *,struct pt_regs *,long);
68extern void __die(const char * str, struct pt_regs * regs, long err);
69extern void __show_regs(struct pt_regs * regs);
70extern void show_regs(struct pt_regs * regs);
71
72extern int map_syscall32(struct mm_struct *mm, unsigned long address);
73extern int __map_syscall32(struct mm_struct *mm, unsigned long address);
74extern char *syscall32_page;
75extern void syscall32_cpu_init(void);
76
77extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);
78
79extern void check_ioapic(void);
80extern void check_efer(void);
81
82extern int unhandled_signal(struct task_struct *tsk, int sig);
83
84extern void select_idle_routine(const struct cpuinfo_x86 *c);
85extern void swiotlb_init(void);
86
87extern unsigned long max_mapnr;
88extern unsigned long end_pfn;
89extern unsigned long table_start, table_end;
90
91extern int exception_trace;
92extern int force_iommu, no_iommu;
93extern int using_apic_timer;
94extern int disable_apic;
95extern unsigned cpu_khz;
96extern int ioapic_force;
97extern int skip_ioapic_setup;
98extern int acpi_ht;
99extern int acpi_disabled;
100
101extern int fallback_aper_order;
102extern int fallback_aper_force;
103extern int iommu_aperture;
104extern int iommu_aperture_disabled;
105extern int iommu_aperture_allowed;
106extern int fix_aperture;
107extern int force_iommu;
108
109extern int reboot_force;
110
111extern void smp_local_timer_interrupt(struct pt_regs * regs);
112
113long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
114
115#define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
116#define round_down(x,y) ((x) & ~((y)-1))
117
118#endif