lkml.org 
[lkml]   [2007]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to tell linux (on x86) to ignore 1M or memory
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-20 21:05    [W:0.068 / U:1.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site