delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/05/03:26:35

Date: Thu, 5 Apr 2001 10:24:27 +0300 (EET DST)
From: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
Sender: <peuha AT sirppi DOT helsinki DOT fi>
To: <djgpp-workers AT delorie DOT com>
Subject: Re: That crash message from the core dumper.
In-Reply-To: <2110-Wed04Apr2001193009+0200-eliz@is.elta.co.il>
Message-ID: <Pine.OSF.4.30.0104050954110.13452-100000@sirppi.helsinki.fi>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 4 Apr 2001, Eli Zaretskii wrote:

> No, 0x10ffff is right from this point of view as well: the DPMI spec
> requires that the size be an integral multiple of 4KB, i.e. the size
> must be 0x110000, not 0x10fff0.

But only if it's greater than 64 kB.  The reason is that the descriptor
has only 20 bits for the limit, and a flag to tell whether the high 12
bits are all zero or the low 12 bits all one.  (Maybe we should print
the limit so that this restriction is obvious, like "0010f---", instead
of "0010ffff".)

-- 
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019