[TG3]: Add tagged status support.
[linux-2.6/verdex.git] / include / asm-x86_64 / proto.h
blobf2f073642d6295fdeaa97ce94f7c9fee4510f797
1 #ifndef _ASM_X8664_PROTO_H
2 #define _ASM_X8664_PROTO_H 1
4 #include <asm/ldt.h>
6 /* misc architecture specific prototypes */
8 struct cpuinfo_x86;
9 struct pt_regs;
11 extern void get_cpu_vendor(struct cpuinfo_x86*);
12 extern void start_kernel(void);
13 extern void pda_init(int);
15 extern void early_idt_handler(void);
17 extern void mcheck_init(struct cpuinfo_x86 *c);
18 extern void init_memory_mapping(unsigned long start, unsigned long end);
20 extern void system_call(void);
21 extern int kernel_syscall(void);
22 extern void syscall_init(void);
24 extern void ia32_syscall(void);
25 extern void ia32_cstar_target(void);
26 extern void ia32_sysenter_target(void);
28 extern void config_acpi_tables(void);
29 extern void ia32_syscall(void);
30 extern void iommu_hole_init(void);
32 extern void time_init_gtod(void);
33 extern int pmtimer_mark_offset(void);
34 extern unsigned int do_gettimeoffset_pm(void);
35 extern u32 pmtmr_ioport;
36 extern unsigned long long monotonic_base;
37 extern int sysctl_vsyscall;
39 extern void do_softirq_thunk(void);
41 extern int numa_setup(char *opt);
43 extern int setup_early_printk(char *);
44 extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
46 extern void early_identify_cpu(struct cpuinfo_x86 *c);
48 extern int k8_scan_nodes(unsigned long start, unsigned long end);
50 extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
51 extern unsigned long numa_free_all_bootmem(void);
53 extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
54 extern void free_bootmem_generic(unsigned long phys, unsigned len);
56 extern void load_gs_index(unsigned gs);
58 extern unsigned long end_pfn_map;
60 extern cpumask_t cpu_initialized;
62 extern void show_trace(unsigned long * rsp);
63 extern void show_registers(struct pt_regs *regs);
65 extern void exception_table_check(void);
67 extern void acpi_reserve_bootmem(void);
69 extern void swap_low_mappings(void);
71 extern void oops_begin(void);
72 extern void die(const char *,struct pt_regs *,long);
73 extern void __die(const char * str, struct pt_regs * regs, long err);
74 extern void __show_regs(struct pt_regs * regs);
75 extern void show_regs(struct pt_regs * regs);
77 extern char *syscall32_page;
78 extern void syscall32_cpu_init(void);
80 extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);
82 extern void check_ioapic(void);
83 extern void check_efer(void);
85 extern int unhandled_signal(struct task_struct *tsk, int sig);
87 extern void select_idle_routine(const struct cpuinfo_x86 *c);
88 extern void swiotlb_init(void);
90 extern unsigned long max_mapnr;
91 extern unsigned long end_pfn;
92 extern unsigned long table_start, table_end;
94 extern int exception_trace;
95 extern int force_iommu, no_iommu;
96 extern int using_apic_timer;
97 extern int disable_apic;
98 extern unsigned cpu_khz;
99 extern int ioapic_force;
100 extern int skip_ioapic_setup;
101 extern int acpi_ht;
102 extern int acpi_disabled;
104 extern int fallback_aper_order;
105 extern int fallback_aper_force;
106 extern int iommu_aperture;
107 extern int iommu_aperture_disabled;
108 extern int iommu_aperture_allowed;
109 extern int fix_aperture;
110 extern int force_iommu;
112 extern int reboot_force;
114 extern void smp_local_timer_interrupt(struct pt_regs * regs);
116 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
118 #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
119 #define round_down(x,y) ((x) & ~((y)-1))
121 #endif