1 #ifndef _ASM_X8664_PROTO_H
2 #define _ASM_X8664_PROTO_H 1
4 /* misc architecture specific prototypes */
8 extern void get_cpu_vendor(struct cpuinfo_x86*);
9 extern void start_kernel(void);
10 extern void pda_init(int);
12 extern void mcheck_init(struct cpuinfo_x86 *c);
13 extern void init_memory_mapping(void);
15 extern void system_call(void);
16 extern void ia32_cstar_target(void);
17 extern void calibrate_delay(void);
18 extern void cpu_idle(void);
19 extern void sys_ni_syscall(void);
20 extern void config_acpi_tables(void);
21 extern void ia32_syscall(void);
22 extern void iommu_hole_init(void);
24 extern void do_softirq_thunk(void);
26 extern int setup_early_printk(char *);
27 extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
29 extern int k8_scan_nodes(unsigned long start, unsigned long end);
31 extern int numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
32 extern unsigned long numa_free_all_bootmem(void);
34 extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
35 extern void free_bootmem_generic(unsigned long phys, unsigned len);
37 extern unsigned long start_pfn, end_pfn, end_pfn_map;
39 extern void show_stack(unsigned long * rsp);
41 #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
42 #define round_down(x,y) ((x) & ~((y)-1))