Mail Archives: djgpp/1999/10/21/07:20:47
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 -