Have you tried include/gem5/m5ops.h ? Found with "git ls-files | grep
m5ops.h", and it is included by m5.c.

Alternatively, this other ARM PARSEC tutorial just defines the
functions directly:
https://github.com/arm-university/arm-gem5-rsk/blob/aa3b51b175a0f3b6e75c9c856092ae0c8f2a7cdc/parsec_patches/xcompile-patch.diff#L189

I haven't tested those yet unfortunately.

On Sat, Apr 28, 2018 at 10:40 PM, Xin Zhan <zhanxin...@gmail.com> wrote:
> Hi all,
>
> I am trying to cross-compiled the PARSEC3.0 benchmark for ARM ISA, and I
> follow the manual in previous thread
> https://drive.google.com/file/d/0B1UBY1kHCnn3RGZ5NFNGa1RVMk0/view. I try to
> insert some gem5 pseudo instructions into PARSEC code to dump, reset stats
> files and write checkpoint at the begining of the ROI. As described in the
> manual, after I build m5op_arm.o, I need to copy m5op files to parsec hooks
> src folder:
> sudo cp ~/gem5/util/m5/m5op.h ~/gem5/util/m5/m5ops.h
> ~/gem5/util/m5/m5op_arm.o /mnt/parsec3.0/pkgs/libs/hooks/src
>
> However, seems that in the directory gem5/util/m5/ for the lates gem5, there
> is no m5op.h and m5ops.h anymore. There is only a header file m5_mmap.h but
> I don't think it is the correct one.
>
> Anyone knows which headers should I use?
>
> Appreciate your help!
> Xin
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to