Date: Thu, 5 Apr 2001 10:24:27 +0300 (EET DST) From: Esa A E Peuha Sender: To: Subject: Re: That crash message from the core dumper. In-Reply-To: <2110-Wed04Apr2001193009+0200-eliz@is.elta.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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/