[Disksim-users] Diskim API help
Steve
zgy04 at 126.com
Thu Feb 4 03:28:05 EST 2010
Hello,mauricxe,
Could you see the syssim as an executable program?
you can call disksim module in your program via four disksim APIs:
disksim_interface_initialize,
disksim_interface_request_arrive,
disksim_interface_internal_event,
disksim_interface_shutdown.
All the best.
Steve
zgy04 at 126.com
2010-02-04
======= 2010-02-04 13:36:43 mauricxe Written: =======
>
>
> Hi Steve,
>
>Thank you for your reply. I have seen the syssim_driver.c file. However, I am unable to compile the syssim_driver.c file into anexecutable. I realize that there is a syssim executable file already,but I want to made modifications to the syssim_driver.c file so that Ican experiment with the environment.
>
>Any help would be appreciated!
>
>
>
>
>
>
>
>
>
>Hello,mauricxe,
> you can see the sample code released in the disksim source, called syssim.
>
>All the best.
>
> Steve
> zgy04 at 126.com
> 2010-02-04
>
>
>======= 2010-02-04 09:34:05 mauricxe Written: =======
>
>>
>> To clarify, I need help compiling an executable that allows me to run disksim
>as a slave process. Can anyone offer some advice?
>>
>>Thanks!
>>
>>
>>
>>
>>
>>
>>
>>
>>-----Original Message-----
>>From: mauricxe at netscape.net
>>To: disksim-users at ece.cmu.edu
>>Sent: Mon, Feb 1, 2010 3:01 pm
>>Subject: [Disksim-users] Diskim API help
>>
>>
>>Hello,
>>
>>I am new to Disksim. I read the manual. I have a question about compiling the
>API.
>>
>>I noticed that there syssim_drive.c is a good skeleton for creating an API. I
>am trying to experiment with some of the options of Disksim by modifying the
>syssim_drive. I also have the Microsoft SSD patch installed.
>>
>>Here is my question, how do I compile syssim_drive.c?
>>
>>I have tried using the following gcc command:
>>
>>gcc syssim_drive.c disksim_interface.o libdisksim.a -o test
>>
>>I get errors as expected but I don't know how to proceed. Any help would be
>appreciated!
>>
>>-Arnold
>>
>>
>>_______________________________________________
>>Disksim-users mailing list
>>Disksim-users at ece.cmu.edu
>>https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>>
>>
>>
>>_______________________________________________
>>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