From owner-freebsd-arch Tue Feb 12 11:34:32 2002 Delivered-To: freebsd-arch@freebsd.org Received: from antipater.hosting.pacbell.net (antipater.hosting.pacbell.net [216.100.99.13]) by hub.freebsd.org (Postfix) with ESMTP id C2F8A37B433 for ; Tue, 12 Feb 2002 11:33:41 -0800 (PST) Received: from misha1 (adsl-64-172-38-74.dsl.snfc21.pacbell.net [64.172.38.74]) by antipater.hosting.pacbell.net id OAA13683; Tue, 12 Feb 2002 14:32:14 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <009401c1b3f9$1ffe6980$b210a8c0@netscreen5> Reply-To: "mike varga" From: "mike varga" To: Subject: dmamap Date: Tue, 12 Feb 2002 11:02:44 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_008F_01C1B3B4.CC16DC60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_008F_01C1B3B4.CC16DC60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am modifying a driver to=20 map user addresses into kernel space to be used by DMA. Is there a facility like what exists within Linux that will allow me to map and wire user pages? Linux: alloc_kiovec(), map_user_kiobuf(), kmap(); I did find these, are they appropriate? FreeBSD: vm_map_create(), vm_map_user_pagable(); Also, is there an example or documentation that exists for what I am trying. ------=_NextPart_000_008F_01C1B3B4.CC16DC60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am modifying a driver to =
map user addresses into kernel = space
to be used by=20 DMA.
 
Is there a facility like
what exists within Linux
that will allow me to map
and wire user pages?
 
Linux: alloc_kiovec(), = map_user_kiobuf(),=20 kmap();
 
I did find these, are they=20 appropriate?
 
FreeBSD: vm_map_create(),=20 vm_map_user_pagable();
 
Also, is there an example = or
documentation that exists = for
what I am trying.
 
 
 
 
 
 
------=_NextPart_000_008F_01C1B3B4.CC16DC60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message