www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/07/08:48:40

Xref: news2.mv.net comp.os.msdos.djgpp:6797
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: mmap()
Date: Fri, 02 Aug 1996 09:29:03 CDT
Organization: Rice University, Houston, Texas
Lines: 7
Message-ID: <320210af.sandmann@clio.rice.edu>
References: <838930291 DOT 23607 DOT 1 AT abwillms DOT demon DOT co DOT uk>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: clio.rice.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> It'd have to be a DPMI feature, as in DPMI 2.0 or something.

Actually, using uncommitted pages, and a user page fault handler with
the enhanced DPMI 1.0 exception frame, you could do most or all of what 
mmap() needs to do.  Committing written pages back to disk would need
to be on unmap/exit however.  Given my bad experiences with some unixes
buggy implementations of mmap, I have mostly quit using it, however.

- Raw text -


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