Dear all,

As I have written in another thread, I need to run an image processing
application in full system mode using caches and O3 CPU. The ISA is X86.
The application creates a JPEG image as its output, which I need to find on
the disk image after the simulation is terminated.

For this purpose, I have turned off the COW layer in FSConfig.py. as it
follows:

class RawIdeDisk(IdeDisk):
       image = RawDiskImage(read_only=False)
       def childImage(self, ci):
           self.image.image_file=ci

#class CowIdeDisk(IdeDisk):
#    image = CowDiskImage(child=RawDiskImage(read_only=True),
#                        read_only=False)

#    def childImage(self, ci):
#        self.image.child.image_file = ci

And inside def makeX86System:

#    disk0 = CowIdeDisk(driveID='master')
#    disk2 = CowIdeDisk(driveID='master')
    disk0 = RawIdeDisk(driveID='master')
    disk2 = RawIdeDisk(driveID='master')

I disregarded the options such as --caches and --cpu-type and tried running
the simulation, and I observed that the output JPEG image is stored on the
disk image only when I don't use the --script option and execute the
commands of the script (called cjpeg.rcS) in an attached terminal instead.
Otherwise, when I use the option --script=configs/boot/cjpeg.rcS, the
created JPEG image is not stored on the disk image.

My question is how I can have the JPEG image stored on the disk image in
the latter case too.

I would appreciate any help or idea.

Azadeh
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to