Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 1997 19:36:11 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org, hackers@freebsd.org, sysseh@devetir.qld.gov.au
Subject:   Re: Mmaping device space into user space
Message-ID:  <199701220836.TAA10401@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I'm fooling around with some of the sound device drivers, and I'm wanting to 
>know how to mmap some of the DMA buffers that they use into user space. Any 
>clues?

See scmmap() in syscons.c.  Mmaping in device drivers is very easy if the
memory is contiguous, page-aligned and never freed.

Bruce



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