Hello guys,

I have added a new pseudo instruction in gem5 codebase and now I need to pass 
pointer value as a parameter for this pseudo instruction.


Currently I can pass only integer values as the function parameter and the 
passing pointer causes errors.

Please let me know if anybody has any idea / worked on it.


Example:


uint64_t readfile(ThreadContext *tc, Addr vaddr, uint64_t len, uint64_t offset)
{
......
.....
}


I would like to do something like:


uint64_t new_op(ThreadContext *tc, uint64_t* abc, uint64_t* xyz)
{
......
.....
}


Any help is appreciated.


Thanks and regards,

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

Reply via email to