Converting pointer to vm_offset_t

Fernando Apesteguía fernando.apesteguia at gmail.com
Thu May 6 06:44:50 UTC 2010


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.


More information about the freebsd-hackers mailing list