delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/21/07:20:47

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: far call
Date: 21 Oct 1999 09:56:12 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 22
Message-ID: <7umnvs$p4l$1@antares.lu.erisoft.se>
References: <Pine DOT UW2 DOT 3 DOT 95 DOT 991019185402 DOT 20452B-100000 AT bryggen DOT bgnett DOT no> <7uim9q$14k AT acp3bf DOT knirsch DOT de>
NNTP-Posting-Host: propus-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker (broeker AT acp3bf DOT knirsch DOT de) wrote:
: Gisle Vanem (giva AT bryggen DOT bgnett DOT no) wrote:
: > Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> said:
: > > > Exiting due to signal SIGSEGV
: > > > General Protection Fault at eip=00001dcc, error=01d4

: > > So in this case, you are trying to use a selector 0x1d4, which is indeed
: > > invalid (it's not ring-3 selector).
: >  
: > OTOH, the error code doesn't include the ring-level.

: It does. You just don't see it because you don't know where to look
: --- the 2 lowest bits of the descriptor are the ring-level. Your
: descriptor is 0x1d4 ==> lowest bits are 00 ==> Ring-0 was requested.

How do you request (and perhaps get) a selector for a different
ring-level than your own (which in DJGPP is three)?


Right, 

							MartinS

- Raw text -


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