[Disksim-users] slave mode and outstanding events

Steve zgy04 at 126.com
Sun Jun 21 20:13:39 EDT 2009


It is My pleasure!

Yes.  the callback routines will be called multiple times. I suggest that you should refer to two source files: the src/syssim_driver.c and src/syssim_driver.h.

Tell me if any further progress.



======= 2009-06-22 07:58:32 Nobody Nobody Nobody Written: =======

>
>Thank you.
>
>The example (by Eran G. included in the disksim/src/), however, mentions that only one callback can be outstanding. If I have multiple requests inside disksim, then disksim could call the callback scheduler multiple times. Is that OK?
>
>
>
>--- On Sun, 6/21/09, Steve <zgy04 at 126.com> wrote:
>
>From: Steve <zgy04 at 126.com>
>Subject: Re: [Disksim-users] slave mode and outstanding events
>To: "Nobody Nobody Nobody" <n080di at yahoo.com>, "disksim-users" <disksim-users at ece.cmu.edu>
>Date: Sunday, June 21, 2009, 7:41 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?
>>
>yes, it can be called again. This is like the interruption call.
>
>
>>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.
>>
>>
>>
>>      
>>_______________________________________________
>>Disksim-users mailing list
>>Disksim-users at ece.cmu.edu
>>https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>>
>
>= = = = = = = = = = = = = = = = = = = =
>            
>
>  
>
>
>
>      

= = = = = = = = = = = = = = = = = = = =
			

  


More information about the Disksim-users mailing list