[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface for SCSI transactions ?

From: Samuel Thibault
Subject: Re: Interface for SCSI transactions ?
Date: Thu, 15 Sep 2011 02:28:29 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Thomas Schmitt, le Tue 13 Sep 2011 12:29:43 +0200, a écrit :
>   routine device_transact_native(

Why "native"?

> Page 3 of mig.ps says:
>  "For variable length arrays an additional count parameter is generated
>   to specify how much of the array is actually being used."
> So do i have to feed this by two C variables ?
> And what type has the additionally generated count parameter ?

Mmm, I think the simplest way is to just rebuild the kernel with the new
RPC, and look at the generated prototype.

> Serialized structs in byte arrays seem to be the only way to get this,

That's what Mach seems to do for most things, see device_set_status &
co, thread_set_state & co, etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]