delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/12/21:56:55

Date: Thu, 13 Jan 2000 07:41:29 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: Martin Stromberg <eplmst AT lu DOT erisoft DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: Problems with protected_mode_int
In-Reply-To: <85iam7$eu3$5@antares.lu.erisoft.se>
Message-ID: <Pine.LNX.4.10.10001130720580.561-100000@yahoo.com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 12 Jan 2000, Martin Stromberg wrote:

> : You can't run an interrupt handler in a stack. Use _my_cs(). Although
> : both SS, DS and CS have the same base, they have different access rights.
> 

> Yes, you can (at least theoretically).

Could you explain this in more detail?

> But perhaps you can't run code
> using the stack selector?

Nothing other than CS can execute something. In real mode, you can just
get the SS value into CS and run. But in PM, you can't do that.


Prashant

- Raw text -


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