From owner-freebsd-hackers Tue Dec 19 20:02:02 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA27381 for hackers-outgoing; Tue, 19 Dec 1995 20:02:02 -0800 (PST) Received: from staff.cs.su.OZ.AU (staff.cs.su.OZ.AU [129.78.8.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA27367 for ; Tue, 19 Dec 1995 20:01:56 -0800 (PST) Received: from un.seqeb.gov.au by staff.cs.su.OZ.AU (mail from daemon for hackers@freebsd.org) with MHSnet; Wed, 20 Dec 1995 15:01:51 +1100 Received: from svcc.seqeb.gov.au by un.seqeb.gov.au; (5.65/GJW251095a) id AA05162; Wed, 20 Dec 1995 13:27:45 +1000 Received: by svcc.seqeb.gov.au (5.57/Ultrix/4.2A and a bit) id AA25073; Wed, 20 Dec 95 13:27:44 +1000 Date: Wed, 20 Dec 1995 13:27:43 +1000 (EST) From: pat collins Subject: Help with lkm's please To: hackers@freebsd.org Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk I am writing an lkm device driver for a digital IO board. I have worked out how to move bytes from the user space to the kernel space but not vice-versa. Can anyone give me any clues on how I move data from the kernel space to the user space. Do I use the uiomove() function, if so how. Thanks ----------------------------------------------------------------------------- Patrick Collins - Communications Design Officer email : pc012@seqeb.gov.au South East Queensland Electricity Corporation phone : +61 7 3407 5237 2 Bowen Bridge Rd, Fortitude Valley, 4006 fax : +61 7 3407 5059 Queensland, AUSTRALIA (Best State, Best Country) Viva el Cristo Rey ! -----------------------------------------------------------------------------