Review Board 2.0.15


util: implements "writefile" gem5 op to export file from guest to host filesystem

Review Request #983 - Created Jan. 9, 2012 and submitted - Latest diff uploaded

Information
Ali Saidi
gem5
default
Reviewers
Default
util: implement "writefile" gem5 op to export file from guest to host filesystem

Usage: m5 writefile <filename>

File will be created in the gem5 output folder with the identical filename.
Implementation is largely based on the existing "readfile" functionality.
Currently does not support exporting of folders.
Works for ARM. Other ISAs are future work as it would require re-generating images to test.