Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 10:47:58 -0800
From:      Michael Smith <msmith@freebsd.org>
To:        "mike varga" <mike.varga@cavium.com>
Cc:        "Steve Kargl" <sgk@troutmask.apl.washington.edu>, freebsd-arch@freebsd.org
Subject:   Re: bus_dma_load_uio() function 
Message-ID:  <200202131847.g1DIlwg01147@mass.dis.org>
In-Reply-To: Your message of "Tue, 12 Feb 2002 17:33:37 PST." <000701c1b42e$7835eda0$b210a8c0@netscreen5> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Yes I did, but thank you 
> for replying.
> 
> My question essentially 
> boils down to,"How do you
> map and lock user pages (buffers)
> for use in a driver that wants
> to do a DMA directly 
> from/to them.
> 
> It removes unnecessary 
> copies.

Typically, you let the kernel do this for you, via the physio interface.


-- 
To announce that there must be no criticism of the president
or that we are to stand by the president right or wrong is not
only unpatriotic and servile, but is morally treasonable to 
the American public.  - Theodore Roosvelt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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