lkml.org 
[lkml]   [2001]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: User Space Emulation of Devices
Date
Followup to:  <20010912214444Z271795-760+12170@vger.kernel.org>
By author: Oliver Neukum <Oliver.Neukum@lrz.uni-muenchen.de>
In newsgroup: linux.dev.kernel
>
> How do you pass an ioctl ? If any parameter is a pointer you actually need a
> complex protocol for passing memory content to make it useful.
>

You need a parameter marshalling system; however, they do exist. It
might actually be that the best way to deal with this is to make a
general module framework and compile a specific module to marshall the
parameters of the device you want to emulate.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.093 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site