Mail Archives: djgpp/2000/09/27/02:15:47
I understand that DPMI is not supposed to provide support for mmap(). Can
we extend it? (or is that just _not_ done?)
Windows: does DJGPP under Windows rely on the OS for virtual memory
management? If so, then there's probably not much to be done about it,
right?
CSDPMI: can this server be extended to provide mmap() functionality?
Edmund.
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1000926172717 DOT 15724A-100000 AT is...
>
> On Wed, 27 Sep 2000, Edmund Horner wrote:
>
> > Can the mmap() function be implemented in the DJGPP libc?
>
> Yes, but only for allocating memory and then only for some values of
> the arguments. For example, memory-mapped files cannot be supported,
> and MAP_FIXED in the flags will not work (since the DPMI client has no
> control on the address where memory is allocated).
>
> > If so, would it be a simple port from, say, the Linux glibc source, or
would
> > it (as I suspect) involve a lot of fiddling with DPMI?
>
> I cannot imagine that a Linux source will be a good starting point,
> since Linux uses a totally different memory organization and protection
> methods.
- Raw text -