Skip to contentSkip to conversation

enable mem= to mark memory as acpi-reserved

PATCH Pavel Machek 3 participants 3 messages Feb 20, 2003 – Feb 25, 2003

lore
Share & tools
lore
#0 lore raw

Hi!

This enables user to mark memory acpi-reserved; this is needed to get acpi working on PaceBlade tablet (it has broken e820 tables). Second diff makes printk output better aligned so it is possible to compare RAM maps by eyes. Please apply,

Pavel

arch/i386/kernel/setup.c +4 -1
@@ -546,6 +546,9 @@
 				if (*from == '@') {
 					start_at = memparse(from+1, &from);
 					add_memory_region(start_at, mem_size, E820_RAM);
+				} else if (*from == '#') {
+					start_at = memparse(from+1, &from);
+					add_memory_region(start_at, mem_size, E820_ACPI);
 				} else {
 					limit_regions(mem_size);
 					userdef=1;
@@ -576,7 +582,7 @@
 	*cmdline_p = command_line;
 	if (userdef) {
 		printk(KERN_INFO "user-defined physical RAM map:\n");
-		print_memory_map("user");
+		print_memory_map("user     ");
 	}
 }
 
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#1 lore raw

In message <[email protected]> you write:

Quoted 6 lines

Hi!

This enables user to mark memory acpi-reserved; this is needed to get acpi working on PaceBlade tablet (it has broken e820 tables). Second diff makes printk output better aligned so it is possible to compare RAM maps by eyes. Please apply,

Second is trivial, first isn't. Suggest send to Andrew Grover.

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

#2 lore raw

Hi!

Quoted 6 lines
Quoted 4 lines

This enables user to mark memory acpi-reserved; this is needed to get acpi working on PaceBlade tablet (it has broken e820 tables). Second diff makes printk output better aligned so it is possible to compare RAM maps by eyes. Please apply,

Second is trivial, first isn't. Suggest send to Andrew Grover.

Does it mean you will care about the second?

Okay, will push the first through Andrew.
Pavel

Signature · 2 lines
Horseback riding is like software...
...vgf orggre jura vgf serr.