[Disksim-users] Fw: Re: slave mode and outstanding events

Nobody Nobody Nobody n080di at yahoo.com
Mon Jun 22 19:32:34 EDT 2009


Disksimmers!

Another follow-up question:

  When disksim reports completion, it uses a function with the following signature:
void* (SysTime t, struct disksim_request *r, void *ctx)

  What does it return (if anything useful) in *r and *ctx? Preliminary tests show that r does not appear to contain details about the request that was completed by disksim. 

Thank you.

--- On Sun, 6/21/09, Nobody Nobody Nobody <n080di at yahoo.com> wrote:

From: Nobody Nobody Nobody <n080di at yahoo.com>
Subject: [Disksim-users] slave mode and outstanding events
To: disksim-users at ece.cmu.edu
Date: Sunday, June 21, 2009, 6:05 PM

Hello disksimmers!

Suppose disksim is used in slave mode by a system simulator.

Suppose a request is sent to disksim using the disksim_interface_request_arrive() function.

Can this function be called again (i.e., can another request be sent in) before disksim has indicated completion of the previous request through the callback?

If not, then is it
 necessary that requests be queued up by the system level simulator until disksim is ready for the next one?

Thank you.



      
-----Inline Attachment Follows-----

_______________________________________________
Disksim-users mailing list
Disksim-users at ece.cmu.edu
https://sos.ece.cmu.edu/mailman/listinfo/disksim-users





      


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20090622/f64936b2/attachment.html>


More information about the Disksim-users mailing list