Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2010 08:44:43 +0200
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Converting pointer to vm_offset_t
Message-ID:  <p2y1bd550a01005052344peb3994c4r4d34f5f0cade1b32@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

Is there a way to convert a (char *) pointer (or in general any
pointer) to a vm_offset_t type?
I was thinking of sbuf_copyin, but I'm dealing with a process
different from current in kernel. I want to copy the pointer to kernel
space using a struct uio.

Thanks in advance.



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