From: Paolo Ornati <ornati@fastwebnet.it>
To: Bart Trojanowski <bart@jukie.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how to tell linux (on x86) to ignore 1M or memory
Date: Thu, 19 Apr 2007 16:30:07 +0200 [thread overview]
Message-ID: <20070419163007.26db4041@localhost> (raw)
In-Reply-To: <20070419141804.GO32620@jukie.net>
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
next prev parent reply other threads:[~2007-04-19 14:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 14:18 how to tell linux (on x86) to ignore 1M or memory Bart Trojanowski
2007-04-19 14:30 ` Paolo Ornati [this message]
2007-04-20 19:01 ` Rene Herman
2007-06-22 1:46 ` H. Peter Anvin
2007-06-22 13:16 ` Rene Herman
[not found] <8bFEz-3B4-39@gated-at.bofh.it>
[not found] ` <8c6EE-4Jj-5@gated-at.bofh.it>
2007-04-20 21:39 ` Bodo Eggert
[not found] ` <8yGrK-4vX-7@gated-at.bofh.it>
[not found] ` <8yRnb-4XE-23@gated-at.bofh.it>
2007-06-22 23:00 ` Bodo Eggert
2007-06-22 23:04 ` Rene Herman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070419163007.26db4041@localhost \
--to=ornati@fastwebnet.it \
--cc=bart@jukie.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox