www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/16/15:10:05

Date: Thu, 16 Dec 93 14:30:26 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: mjo AT mrao DOT cam DOT ac DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Interrupt routines in 1.11

> Are there any restrictions on length and the position of subroutines
> called by an interrupt and hooked in with a call to the wonderful
> _go32_dpmi_chain_protected_mode_interrupt_vector() subroutine ?

> We've got some code that works wonderfully well with a small interrupt
> handler but breaks when the handler grows or moves away from the
> _go32_....() call.

It may be that they need to be locked down so as to prevent paging
during an interrupt handler.  Have you tried calling the handler from
main() once to pre-load the pages?  That would make it happen less
often, but I don't know of a good easy fix for this.


- Raw text -


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