util: implements "writefile" gem5 op to export file from guest to host filesystem
authorDam Sunwoo <dam.sunwoo@arm.com>
Tue, 31 Jan 2012 15:46:04 +0000 (07:46 -0800)
committerDam Sunwoo <dam.sunwoo@arm.com>
Tue, 31 Jan 2012 15:46:04 +0000 (07:46 -0800)
commit0ed3c84c7b05d7d3c9d5f0e3f1c05c20afef93b9
tree9663b1af4da7ee4c063fa0047da7cbf7e8a2b9de
parentaf6aaf258171027af8d3cf0ef86dddff501a3ccb
util: implements "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.
src/arch/arm/isa/formats/m5ops.isa
src/arch/arm/isa/insts/m5ops.isa
src/base/output.hh
src/sim/pseudo_inst.cc
src/sim/pseudo_inst.hh
util/m5/m5.c
util/m5/m5op.h
util/m5/m5op_arm.S
util/m5/m5ops.h