Re: userspace vs. kernelspace address

From: Bernd Petrovitsch
Date: Sun Jan 30 2005 - 10:40:25 EST


On Fri, 2005-01-28 at 13:40 -0800, Rock Gordon wrote:
> Lemme explain my problem a little bit more .... I have
> a thread that does exactly similar things in
> kernel-mode and user-mode (depending on how you
> invoked it; of course, the kernel one is forked using
> kernel_thread(), and the user one is from
> pthread_create()). The architecture-dependant stuff is
> taken care of by extensive use of __KERNEL__ macro
> testing.

You can than use the same macros for getting to correct copying
function.

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/