All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
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: Fri, 20 Apr 2007 21:01:01 +0200	[thread overview]
Message-ID: <46290DED.80500@gmail.com> (raw)
In-Reply-To: <20070419141804.GO32620@jukie.net>

On 04/19/2007 04:18 PM, Bart Trojanowski 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?

Note that real-mode can only access the first megabyte (*) and not the first 
16. 16MB is the 16-bit protected mode (286) limit.

(*) well, the first 1M + 64K - 16 bytes using segment FFFF assuming A20 is 
enabled and x > 1 in x86...

Rene.

  parent reply	other threads:[~2007-04-20 19:03 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
2007-04-20 19:01 ` Rene Herman [this message]
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=46290DED.80500@gmail.com \
    --to=rene.herman@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.