Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 1996 17:19:17 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Question regarding device mmap()ing
Message-ID:  <199607151519.RAA16886@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
While writing a device driver, i've included a foommap() function,
since i thought this was an ideal test environment.  (The device
communicates with the driver using a shared memory region in the ISA
hole anyway.)

Well, everything works fine, the stub that's required in the driver is
funny small.  The only thing that doesn't work is to mmap() the memory
region into a user program, and then try accessing it with a debugger.
The entire system stalls with a quickly growing number of processes
sleeping on "lockrd".

Is this the way it is supposed to be?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607151519.RAA16886>