From: guido@philos.wh2.tu-dresden.de (Guido Vattrodt)
Subject: Problem implementing mmap() on DU4.0
Date: 1996/11/25 [thread overview]
Message-ID: <57c5ge$rjf@rks1.urz.tu-dresden.de> (raw)
Hi,
I have to write a device driver for Digital UNIX 4.0. In order to achieve
a low delay while transfering data into the kernel, I would like to map
a portion on the kernel-space into the user-space.
The DU4.0 documentation says that it is possible using the mmap() interface:
------( manual xxmmap() )--------
..
Return Values
The xxmmap interface, if successful, returns the page frame number that
corresponds to the page at the byte
offset specified by the offset argument. Otherwise, xxmmap returns -1.
---------------------------------
My Problem is now:
How do I get the "page frame number" of a buffer inside my driver?
Unfortunately the manual doesn't contain a code example.
Is there anybody who can help me?
Thanks in advance,
Guido
--
+---------------------------------------------------------+
| Guido Vattrodt |
| email: guido@atlantis.wh2.tu-dresden.de |
+---------------------------------------------------------+
reply other threads:[~1996-11-25 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox