mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to read past 8Mb boundary in early boot (i386 arch)?
@ 2001-10-22 21:38 Martin J. Bligh
  2001-10-22 21:58 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Martin J. Bligh @ 2001-10-22 21:38 UTC (permalink / raw)
  To: linux-kernel mailing list

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.


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

end of thread, other threads:[~2001-10-22 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22 21:38 How to read past 8Mb boundary in early boot (i386 arch)? Martin J. Bligh
2001-10-22 21:58 ` Alan Cox

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®