[ATM]: Fix clip module reload crash.
[pv_ops_mirror.git] / include / asm-x86 / setup_32.h
blob7a57ca8a17933edcede20980ec6ef13236d564de
1 /*
2 * Just a place holder. We don't want to have to test x86 before
3 * we include stuff
4 */
6 #ifndef _i386_SETUP_H
7 #define _i386_SETUP_H
9 #define COMMAND_LINE_SIZE 2048
11 #ifdef __KERNEL__
12 #include <linux/pfn.h>
15 * Reserved space for vmalloc and iomap - defined in asm/page.h
17 #define MAXMEM_PFN PFN_DOWN(MAXMEM)
18 #define MAX_NONPAE_PFN (1 << 20)
20 #define PARAM_SIZE 4096
22 #define OLD_CL_MAGIC_ADDR 0x90020
23 #define OLD_CL_MAGIC 0xA33F
24 #define OLD_CL_BASE_ADDR 0x90000
25 #define OLD_CL_OFFSET 0x90022
26 #define NEW_CL_POINTER 0x228 /* Relative to real mode data */
28 #ifndef __ASSEMBLY__
30 #include <asm/bootparam.h>
33 * This is set up by the setup-routine at boot-time
35 extern struct boot_params boot_params;
38 * Do NOT EVER look at the BIOS memory size location.
39 * It does not work on many machines.
41 #define LOWMEMSIZE() (0x9f000)
43 struct e820entry;
45 char * __init machine_specific_memory_setup(void);
46 char *memory_setup(void);
48 int __init copy_e820_map(struct e820entry * biosmap, int nr_map);
49 int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map);
50 void __init add_memory_region(unsigned long long start,
51 unsigned long long size, int type);
53 extern unsigned long init_pg_tables_end;
55 #ifndef CONFIG_PARAVIRT
56 #define paravirt_post_allocator_init() do {} while (0)
57 #endif
59 #endif /* __ASSEMBLY__ */
61 #endif /* __KERNEL__ */
63 #endif /* _i386_SETUP_H */