* Problem implementing mmap() on DU4.0
@ 1996-11-25 5:00 Guido Vattrodt
0 siblings, 0 replies; only message in thread
From: Guido Vattrodt @ 1996-11-25 5:00 UTC (permalink / 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 |
+---------------------------------------------------------+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-25 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-25 5:00 Problem implementing mmap() on DU4.0 Guido Vattrodt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox