1 #ifndef _ASM_X86_SETUP_H
2 #define _ASM_X86_SETUP_H
4 #define COMMAND_LINE_SIZE 2048
8 /* Interrupt control for vSMPowered x86_64 systems */
11 #ifdef CONFIG_X86_VISWS
12 extern void visws_early_detect(void);
14 static inline void visws_early_detect(void) { }
18 * Any setup quirks to be performed?
20 extern int (*arch_time_init_quirk
)(void);
21 extern int (*arch_pre_intr_init_quirk
)(void);
22 extern int (*arch_intr_init_quirk
)(void);
23 extern int (*arch_trap_init_quirk
)(void);
24 extern char * (*arch_memory_setup_quirk
)(void);
25 extern int (*mach_get_smp_config_quirk
)(unsigned int early
);
26 extern int (*mach_find_smp_config_quirk
)(unsigned int reserve
);
28 #ifndef CONFIG_PARAVIRT
29 #define paravirt_post_allocator_init() do {} while (0)
31 #endif /* __ASSEMBLY__ */
37 #include <linux/pfn.h>
39 * Reserved space for vmalloc and iomap - defined in asm/page.h
41 #define MAXMEM_PFN PFN_DOWN(MAXMEM)
42 #define MAX_NONPAE_PFN (1 << 20)
46 #define PARAM_SIZE 4096 /* sizeof(struct boot_params) */
48 #define OLD_CL_MAGIC 0xA33F
49 #define OLD_CL_ADDRESS 0x020 /* Relative to real mode data */
50 #define NEW_CL_POINTER 0x228 /* Relative to real mode data */
53 #include <asm/bootparam.h>
58 * This is set up by the setup-routine at boot-time
60 extern struct boot_params boot_params
;
63 * Do NOT EVER look at the BIOS memory size location.
64 * It does not work on many machines.
66 #define LOWMEMSIZE() (0x9f000)
70 void __init
i386_start_kernel(void);
71 extern void probe_roms(void);
73 extern unsigned long init_pg_tables_start
;
74 extern unsigned long init_pg_tables_end
;
77 void __init
x86_64_start_kernel(char *real_mode
);
78 void __init
x86_64_start_reservations(char *real_mode_data
);
82 #endif /* __ASSEMBLY__ */
83 #endif /* __KERNEL__ */
85 #endif /* _ASM_X86_SETUP_H */