www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/16/06:26:31

Date: Tue, 16 Sep 1997 13:25:54 +0300 (EET DST)
From: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
Message-Id: <199709161025.NAA26440@kruuna.Helsinki.FI>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: Curious about selectors
Newsgroups: comp.os.msdos.djgpp
In-Reply-To: <Pine.SUN.3.91.970910192317.10908G-100000@is>
Organization: University of Helsinki

On Wed, 10 Sep 1997 16:27:58 GMT,
in <Pine DOT SUN DOT 3 DOT 91 DOT 970910192317 DOT 10908G-100000 AT is>,
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> You get different values with different DPMI hosts.  The value itself is 
> not special in any way, AFIK, it's just an offset into the descriptor 
> table.

Not exactly. Bits 3 to 15 are the offset to the descriptor table, bit 2
indicates global/local descriptor table (zero for GDT, one for LDT), and bits
0 to 1 are the requested privilege level (three for application programs).

-- 
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