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