blob: 313aff38853bd0afaa0fd2d9069b02f08e7158e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
Index: linux-2.6.11-ck1/arch/i386/Kconfig
===================================================================
--- linux-2.6.11-ck1.orig/arch/i386/Kconfig 2005-03-02 20:51:41.000000000 +1100
+++ linux-2.6.11-ck1/arch/i386/Kconfig 2005-03-02 20:54:44.000000000 +1100
@@ -745,6 +745,20 @@ config X86_PAE
depends on HIGHMEM64G
default y
+config 1GLOWMEM
+ bool "1Gb Low Memory Support"
+ depends on NOHIGHMEM
+ default n
+ help
+ Linux on i386 architecture normally supports just 896Mb without
+ enabling HIGHMEM support. This option will enable you to support 1Gb
+ of ram without needing to enable HIGHMEM support. The advantage of
+ this is that you don't need the extra overhead of high memory support
+ to utilise the last 128Mb of ram. However this may break drivers such
+ as vmware.
+
+ If unsure say "no"
+
# Common NUMA Features
config NUMA
bool "Numa Memory Allocation and Scheduler Support"
Index: linux-2.6.11-ck1/include/asm-i386/page.h
===================================================================
--- linux-2.6.11-ck1.orig/include/asm-i386/page.h 2005-03-02 20:51:41.000000000 +1100
+++ linux-2.6.11-ck1/include/asm-i386/page.h 2005-03-02 20:54:44.000000000 +1100
@@ -121,12 +121,19 @@ extern int sysctl_legacy_va_layout;
#endif /* __ASSEMBLY__ */
+#ifdef CONFIG_1GLOWMEM
+#ifdef __ASSEMBLY__
+#define __PAGE_OFFSET (0xB0000000)
+#else
+#define __PAGE_OFFSET (0xB0000000UL)
+#endif /* __ASSEMBLY__ */
+#else
#ifdef __ASSEMBLY__
#define __PAGE_OFFSET (0xC0000000)
#else
#define __PAGE_OFFSET (0xC0000000UL)
-#endif
-
+#endif /* __ASSEMBLY__ */
+#endif /* CONFIG_1GLOWMEM */
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
|