[<prev] [next>] [day] [month] [year] [list]
Message-Id: <E1Hf0pe-0001Ne-J8@be1.lrz>
Date: Fri, 20 Apr 2007 23:39:54 +0200
From: Bodo Eggert <7eggert@....de>
To: Rene Herman <rene.herman@...il.com>, Dave Jones <davej@...hat.com>,
Neil Brown <neilb@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Kyle McMartin <kyle@...onical.com>,
linux-kernel@...r.kernel.org, alan@...hat.com, bcollins@...ntu.com,
pjones@...hat.com
Subject: Re: how to tell linux (on x86) to ignore 1M or memory
Rene Herman <rene.herman@...il.com> wrote:
> 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...
Interrupt 15h, function 87h allows copying from/to extended memory.
You might like to look into Ralph Brown's interrupt list for more details.
You could also cpio-gzip the data and append it to the initramfs.
--
Fun things to slip into your budget
Does that line item say 'Personal Massage System' Oops, it's supposed to be
'Message'. Go ahead and sign the authorization, Boss; I'll correct it later.
(Iike Hell I will)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists