lkml.org 
[lkml]   [2007]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to tell linux (on x86) to ignore 1M or memory
On Thu, 19 Apr 2007 10:18:04 -0400
Bart Trojanowski <bart@jukie.net> wrote:

> I need to preserve some state from the bios before entering protected
> mode. For now I want to copy it into some ram accessible by real-mode,
> say the last megabyte visible in real-mode.
>
> What's the easiest way to have linux ignore the megabyte starting at 15M?
>

Documentation/kernel-parameters.txt:

memmap=nn[KMG]$ss[KMG]
[KNL,ACPI] Mark specific memory as reserved.
Region of memory to be used, from ss to ss+nn.


So adding this to kernel boot parameters should do the trick:

memmap=15M$1M

--
Paolo Ornati
Linux 2.6.21-rc7-CFS-v3-g6262cd9f on x86_64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-19 16:33    [W:0.047 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site