From: JeLlyFish DOT software AT gmx DOT net (Vinzent Hoefler) Newsgroups: comp.os.msdos.djgpp Subject: Re: Page Locking DOS memory Date: Fri, 30 Jul 1999 19:28:20 GMT Organization: JeLlyFish software Message-ID: <7nsuea$ckk$1@news04.btx.dtag.de> References: <37a13b1b DOT 5875209 AT news DOT ntplx DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news04.btx.dtag.de 933362954 12948 777000109768-0001 990730 19:29:14 X-Complaints-To: abuse AT t-online DOT de X-Sender: 777000109768-0001 AT t-online DOT de X-Newsreader: Forte Free Agent 1.11/16.235 Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com rock2000 AT ntplx DOT com (Rock) wrote: >I'm trying to lock a region of memory aquired through DPMI's 0x100 >function (Allocate DOS memoy). When I try to lock this region, it >fails. Do I need to lock DOS memory? (The DPMI spec says that DOS >memory is locked by default on *SOME* DPMIs). AFAIK, DOS memory can never be swapped out. It should be _real_ physical memory located below the 1MB boundary, so no locking should be necessary. Vinzent.