Skip to contentSkip to conversation

+ kconfigurable-resources-arch-dependent-changes-arch-a-i.patch added to -mm tree

DISCUSSION KAMEZAWA Hiroyuki 1 participant 1 message May 11, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · On Wed, 10 May 2006 20:57:19 -0700 [email protected] wrote:

diff -puN arch/i386/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-a-i arch/i386/Kconfig

arch/i386/Kconfig config PHYSICAL_START · line 763

Quoted 10 lines
arch/i386/Kconfig renamed from arch/i386/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-a-i +7 -0
@@ -754,6 +754,13 @@ config PHYSICAL_START
 
 	  Don't change this unless you know what you are doing.
 
+config RESOURCES_32BIT
+	bool "32 bit Memory and IO resources (EXPERIMENTAL)"
+	depends on EXPERIMENTAL
+	help
+	  By default resources are 64 bit. This option allows memory and IO
+	  resources to be 32 bit to optimize code size.
+

Could you modify
- depends on EXPERIMENTAL
- depends on EXPERIMENTAL && !X86_PAE ?

In legacy_init_iomem_resources()(/arch/i386/kernel/setup.c)

	res->start = e820.map[i].addr;
	res->end = res->start + e820.map[i].size - 1;

e820.map[i].addr is unsigned long long.

-Kame