From: "Martin J. Bligh" <Martin.Bligh@us.ibm.com>
To: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: How to read past 8Mb boundary in early boot (i386 arch)?
Date: Mon, 22 Oct 2001 14:38:22 -0700 [thread overview]
Message-ID: <3034122113.1003761502@mbligh.des.sequent.com> (raw)
At boot time, we seem map the first 8Mb by hand ... unfortunately
my hardware puts the MPS tables at 511Mb. Reading this crashes
us hard & fast ;-)
My current "fix" for this problem involves patching the firmware
to put the MPS tables at 7Mb instead, which worked fine, but it's
difficult to release patches for the firmware. I'm thinking it might be
easier to hack Linux.
What I guess is needed is to read the pointer to the MPS tables,
if pointer > 8Mb (well, plus the length of the table or an allowance)
then copy it to 7Mb with some phys_memcopy routine. But it seems
this means handcrafting a page table entry ... in which case, it might
be easier to temporarily create a page table for the area pointed to,
read it as normal, then tear it down again afterwards?
Any pointers much appreciated. Speak slowly, handcrafting page
tables is mildly confusing (to me ;-)).
Thanks,
Martin.
next reply other threads:[~2001-10-22 21:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-22 21:38 Martin J. Bligh [this message]
2001-10-22 21:58 ` Alan Cox
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=3034122113.1003761502@mbligh.des.sequent.com \
--to=martin.bligh@us.ibm.com \
--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
all inboxes | Powered by JetHome®