delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/03/12/23:45:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Tue, 12 Mar 2013 22:32:12 -0500
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <858e8912-407b-4b7b-843a-8dff31d35068 AT googlegroups DOT com>
Subject: Re: Mmap() and modify_ldt() in DOS
Date: Tue, 12 Mar 2013 22:32:03 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646: Format=Flowed; Original
Message-ID: <xNmdnT85eJ6hbqLMnZ2dnUVZ_q2dnZ2d@earthlink.com>
Lines: 10
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 64.91.136.221
X-Trace: sv3-0pfSVlsSbo/amjeXn2BV/BqrVifPxKf7Ey5zDMGa9r9eqJF0ncnY7QuS/51LP+e5jPJlNCx0DdPUk65!ARJ96JWA4vs0Yw0t6u4f+meWpngKxlnHPQaoby2sDwYppdIVa5rw/mzqY5P4s50akD5K3XSrJd07!/gWIm31QxMNg3kZFNokkzmUnC+WN7Kbz
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 1651
X-Original-Bytes: 1590
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

It all depends on the functionality needed in mmap().  Full functionality 
needs some DPMI 1.0 call support.  I have made portions of mmap() available 
under DJGPP in the past under CWSDPMI (for protecting/unmapping/demand 
mapping pages).  But most applications can be coded around needing mmap() if 
it just to pull the contents of a file into memory.

modify_ldt() should be able to be implemented using DPMI calls (or coded to 
use the DJGPP equivalents instead) 


- Raw text -


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