linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: mem= option for broken bioses
@ 2003-02-26 22:39 Grover, Andrew
  2003-02-26 22:44 ` Pavel Machek
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Grover, Andrew @ 2003-02-26 22:39 UTC (permalink / raw)
  To: Pavel Machek, ACPI mailing list, kernel list

> From: Pavel Machek [mailto:pavel@ucw.cz] 
> I've seen broken bios that did not mark acpi tables in e820
> tables. This allows user to override it. Please apply,

OK, looks reasonable. Can you also gen up a patch documenting this in
kernel-parameters.txt?

Thanks -- Regards -- Andy

^ permalink raw reply	[flat|nested] 12+ messages in thread
* mem= option for broken bioses
@ 2003-02-26 20:38 Pavel Machek
  0 siblings, 0 replies; 12+ messages in thread
From: Pavel Machek @ 2003-02-26 20:38 UTC (permalink / raw)
  To: ACPI mailing list, kernel list, Andrew Grover

Hi!

I've seen broken bios that did not mark acpi tables in e820
tables. This allows user to override it. Please apply,

							Pavel

--- linux/arch/i386/kernel/setup.c	2003-02-11 17:50:57.000000000 +0100
+++ linux-tablet/arch/i386/kernel/setup.c	2003-02-20 18:03:03.000000000 +0100
@@ -546,6 +546,12 @@
 				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 if (*from == '$') {
+					start_at = memparse(from+1, &from);
+					add_memory_region(start_at, mem_size, E820_RESERVED);
 				} else {
 					limit_regions(mem_size);
 					userdef=1;

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-03-04 14:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-26 22:39 mem= option for broken bioses Grover, Andrew
2003-02-26 22:44 ` Pavel Machek
2003-02-27 14:27   ` [ACPI] " Robert Woerle Paceblade/Support
2003-02-27 15:19     ` Pavel Machek
2003-02-27 15:49       ` Ducrot Bruno
2003-02-27 16:12         ` Pavel Machek
2003-02-27 15:53       ` Robert Woerle Paceblade/Support
2003-02-27 16:16         ` Pavel Machek
2003-02-27 23:48 ` H. Peter Anvin
     [not found] ` <b3m840_5e4_1@cesium.transmeta.com>
2003-03-04 13:18   ` Pavel Machek
2003-03-04 14:21     ` H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2003-02-26 20:38 Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).