Hello Wei,

If what I understood was that you are trying to implement pseudo-instructions, 
I think this could help to solve your problems [1]

Best regards,

[1] 
http://gedare-csphd.blogspot.com.es/2013/02/add-pseudo-instruction-to-gem5.html

----- Original Message -----
From: "Wei Shu" <[email protected]>
To: "gem5 users mailing list" <[email protected]>
Sent: Friday, April 22, 2016 1:17:02 AM
Subject: [gem5-users] How to make use of modified util/m5/m5.c

Hi all,

I am using gem5 with X86 ISA under fs mode.

I put some functions in util/m5/m5.c to interact with Linux kernel system call 
and
use $make -f Makefile.x86 to get a .o file called "m5op_x86.o".  I recompile 
gem5 without seeing any compilation of m5.c.

At this point when system finishes booting, the function list is printed by 
usage() without
newly added ones. I guess the gem5 system did not actually use the .o file. 

I must missed something and I am confused at this point. Could someone give me 
a hint that how to make use of recompiled m5op_x86.o?

Thanks,

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

-- 
Marcos Horro Varela,
BSc student
University of A Coruña
+34 618 62 67 37
http://markos-horro.com
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to