diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-x86_64/proto.h |
Linux-2.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.h | 118 |
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 | |||
8 | struct cpuinfo_x86; | ||
9 | struct pt_regs; | ||
10 | |||
11 | extern void get_cpu_vendor(struct cpuinfo_x86*); | ||
12 | extern void start_kernel(void); | ||
13 | extern void pda_init(int); | ||
14 | |||
15 | extern void early_idt_handler(void); | ||
16 | |||
17 | extern void mcheck_init(struct cpuinfo_x86 *c); | ||
18 | extern void init_memory_mapping(unsigned long start, unsigned long end); | ||
19 | |||
20 | extern void system_call(void); | ||
21 | extern int kernel_syscall(void); | ||
22 | extern void syscall_init(void); | ||
23 | |||
24 | extern void ia32_syscall(void); | ||
25 | extern void ia32_cstar_target(void); | ||
26 | extern void ia32_sysenter_target(void); | ||
27 | |||
28 | extern void config_acpi_tables(void); | ||
29 | extern void ia32_syscall(void); | ||
30 | extern void iommu_hole_init(void); | ||
31 | |||
32 | extern void time_init_smp(void); | ||
33 | |||
34 | extern void do_softirq_thunk(void); | ||
35 | |||
36 | extern int numa_setup(char *opt); | ||
37 | |||
38 | extern int setup_early_printk(char *); | ||
39 | extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); | ||
40 | |||
41 | extern void early_identify_cpu(struct cpuinfo_x86 *c); | ||
42 | |||
43 | extern int k8_scan_nodes(unsigned long start, unsigned long end); | ||
44 | |||
45 | extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); | ||
46 | extern unsigned long numa_free_all_bootmem(void); | ||
47 | |||
48 | extern void reserve_bootmem_generic(unsigned long phys, unsigned len); | ||
49 | extern void free_bootmem_generic(unsigned long phys, unsigned len); | ||
50 | |||
51 | extern void load_gs_index(unsigned gs); | ||
52 | |||
53 | extern unsigned long end_pfn_map; | ||
54 | |||
55 | extern cpumask_t cpu_initialized; | ||
56 | |||
57 | extern void show_trace(unsigned long * rsp); | ||
58 | extern void show_registers(struct pt_regs *regs); | ||
59 | |||
60 | extern void exception_table_check(void); | ||
61 | |||
62 | extern void acpi_reserve_bootmem(void); | ||
63 | |||
64 | extern void swap_low_mappings(void); | ||
65 | |||
66 | extern void oops_begin(void); | ||
67 | extern void die(const char *,struct pt_regs *,long); | ||
68 | extern void __die(const char * str, struct pt_regs * regs, long err); | ||
69 | extern void __show_regs(struct pt_regs * regs); | ||
70 | extern void show_regs(struct pt_regs * regs); | ||
71 | |||
72 | extern int map_syscall32(struct mm_struct *mm, unsigned long address); | ||
73 | extern int __map_syscall32(struct mm_struct *mm, unsigned long address); | ||
74 | extern char *syscall32_page; | ||
75 | extern void syscall32_cpu_init(void); | ||
76 | |||
77 | extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end); | ||
78 | |||
79 | extern void check_ioapic(void); | ||
80 | extern void check_efer(void); | ||
81 | |||
82 | extern int unhandled_signal(struct task_struct *tsk, int sig); | ||
83 | |||
84 | extern void select_idle_routine(const struct cpuinfo_x86 *c); | ||
85 | extern void swiotlb_init(void); | ||
86 | |||
87 | extern unsigned long max_mapnr; | ||
88 | extern unsigned long end_pfn; | ||
89 | extern unsigned long table_start, table_end; | ||
90 | |||
91 | extern int exception_trace; | ||
92 | extern int force_iommu, no_iommu; | ||
93 | extern int using_apic_timer; | ||
94 | extern int disable_apic; | ||
95 | extern unsigned cpu_khz; | ||
96 | extern int ioapic_force; | ||
97 | extern int skip_ioapic_setup; | ||
98 | extern int acpi_ht; | ||
99 | extern int acpi_disabled; | ||
100 | |||
101 | extern int fallback_aper_order; | ||
102 | extern int fallback_aper_force; | ||
103 | extern int iommu_aperture; | ||
104 | extern int iommu_aperture_disabled; | ||
105 | extern int iommu_aperture_allowed; | ||
106 | extern int fix_aperture; | ||
107 | extern int force_iommu; | ||
108 | |||
109 | extern int reboot_force; | ||
110 | |||
111 | extern void smp_local_timer_interrupt(struct pt_regs * regs); | ||
112 | |||
113 | long 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 | ||