Hello All, I wanted to know if there is a method for passing data (such as the pointer to an array returned from malloc) from an application to gem5 while the application is running.
Currently, in order to pass gem5 the address bounds, I run the application without gem5, print out the address bounds of multiple arrays onto the screen and then pass them as command line arguments to the run script when I execute the application with gem5. I'm using SE mode. I've worked with another simulator that allows you to insert special function calls into the source code using the data you want to pass as arguments. Control is then transferred to code inside of the simulator and the data can then be used to set the values of variables inside of the simulator. In other words, I want to create a gem5 event in application code (I have looked at "Create gem5 Event in application code"). Any help would be much appreciated. Thank you. Regards, Armand Behroozi
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users