Date: Thu, 21 Oct 1999 15:01:06 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: djgpp AT delorie DOT com Subject: Re: far call In-Reply-To: <7umnvs$p4l$1@antares.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 21 Oct 1999, Martin Stromberg wrote: > How do you request (and perhaps get) a selector for a different > ring-level than your own (which in DJGPP is three)? See __dpmi_set_descriptor and __dpmi_set_descriptor_access_rights (there are also corresponding *get* functions). Whether this will work is another question. In general, if you want to call code that's higher privilege that your CPL, you need to set up a ``call gate'' and use it to make the privileged call. But some environments will let you do that in a naive way.