delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/08/13:54:30

From: Matthew Kennedy <q9522772 AT mail DOT connect DOT usq DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Locking entire program in memory?
Date: Sat, 08 Mar 1997 23:05:00 +1000
Organization: University of Southern Queensland
Lines: 17
Message-ID: <332163FC.592C@mail.connect.usq.edu.au>
Reply-To: q9522772 AT mail DOT connect DOT usq DOT edu DOT au
NNTP-Posting-Host: 139.86.24.68
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

NOTE: I've read all the FAQ on DPMI (lock,unlock linear region), I know
how to program under DPMI and fool around with interrupts etc.

I've got a sophisticated 'real-time' program (with lots of ISR hooking
etc) and I'd like to lock the ENTIRE program (code,data - everthing) out
of virtual memory disk swaps.  How can I perform this?  Currently I only
lock out the code/data that is critical - but I can't lock out the other
libraries like standard I/O.

I know the programs memory requirements are well under the amount of
available physical memory.

BTW, I'm not keen on modifiy the DJGPP source etc to do this.

Help greatly appreciated,

Matt

- Raw text -


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