]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-x86/setup.h
x86: seperate probe_roms into another file
[linux-2.6-omap-h63xx.git] / include / asm-x86 / setup.h
1 #ifndef _ASM_X86_SETUP_H
2 #define _ASM_X86_SETUP_H
3
4 #define COMMAND_LINE_SIZE 2048
5
6 #ifndef __ASSEMBLY__
7
8 /* Interrupt control for vSMPowered x86_64 systems */
9 void vsmp_init(void);
10
11 /* Crashkernel reservation */
12 void reserve_crashkernel(void);
13
14 #ifndef CONFIG_PARAVIRT
15 #define paravirt_post_allocator_init()  do {} while (0)
16 #endif
17 #endif /* __ASSEMBLY__ */
18
19 #ifdef __KERNEL__
20
21 #ifdef __i386__
22
23 #include <linux/pfn.h>
24 /*
25  * Reserved space for vmalloc and iomap - defined in asm/page.h
26  */
27 #define MAXMEM_PFN      PFN_DOWN(MAXMEM)
28 #define MAX_NONPAE_PFN  (1 << 20)
29
30 #endif /* __i386__ */
31
32 #define PARAM_SIZE 4096         /* sizeof(struct boot_params) */
33
34 #define OLD_CL_MAGIC            0xA33F
35 #define OLD_CL_ADDRESS          0x020   /* Relative to real mode data */
36 #define NEW_CL_POINTER          0x228   /* Relative to real mode data */
37
38 #ifndef __ASSEMBLY__
39 #include <asm/bootparam.h>
40
41 #ifndef _SETUP
42
43 /*
44  * This is set up by the setup-routine at boot-time
45  */
46 extern struct boot_params boot_params;
47
48 /*
49  * Do NOT EVER look at the BIOS memory size location.
50  * It does not work on many machines.
51  */
52 #define LOWMEMSIZE()    (0x9f000)
53
54 #ifdef __i386__
55
56 void __init i386_start_kernel(void);
57 extern void probe_roms(void);
58
59 extern unsigned long init_pg_tables_start;
60 extern unsigned long init_pg_tables_end;
61
62 #endif /* __i386__ */
63 #endif /* _SETUP */
64 #endif /* __ASSEMBLY__ */
65 #endif  /*  __KERNEL__  */
66
67 #endif /* _ASM_X86_SETUP_H */