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

Date: Wed, 12 Jan 2000 07:43:16 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: Groman <groman AT thehelm DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: ISR with DJGPP in a kernel.
In-Reply-To: <002301bf5c83$e81bf240$010ea8c0@homepc>
Message-ID: <Pine.LNX.4.10.10001120729530.523-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 Tue, 11 Jan 2000, Groman wrote:

> _AsmLoadIDT:
>  push ebp
>  mov ebp, esp
> 
> 
>  lidt [idtr]
> 
> 
>  mov esp, ebp
>  pop ebp
> 
>  ret

Checkup your DS register. Are you loading the IDT right? Then, selector
values in the IDT descriptors *must* be in the GDT and *not* in LDT. Is
this OK, too?

> idtr:
>             dw 8*256-1
>             dd _IDT

Fine.

>             dw 0

What is this one for? Not needed for IDT.

Prashant

- Raw text -


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