public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: User Space Emulation of Devices
Date: 12 Sep 2001 15:14:57 -0700	[thread overview]
Message-ID: <9nomp1$jt7$1@cesium.transmeta.com> (raw)
In-Reply-To: <54045BFDAD47D5118A850002A5095CC30AC57D@exchange1.cam.pace.co.uk> <20010912122826.A6153@bug.ucw.cz> <20010912214444Z271795-760+12170@vger.kernel.org>

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>

  reply	other threads:[~2001-09-12 22:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06  8:25 User Space Emulation of Devices Phil Thompson
2001-09-06 12:14 ` joseph.bueno
2001-09-12 10:28 ` Pavel Machek
2001-09-12 21:45   ` Oliver Neukum
2001-09-12 22:14     ` H. Peter Anvin [this message]
2001-09-12 22:34       ` Alan Cox
2001-09-13 18:13         ` Tim Jansen
2001-09-14  4:31     ` Jeremy Elson
2001-09-13  3:53 ` Dwayne C. Litzenberger
  -- strict thread matches above, loose matches on Subject: below --
2001-09-13  8:25 Phil Thompson
2001-09-13 18:33 ` Tim Jansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='9nomp1$jt7$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox