I have a question regarding RAS implementation in gem5. I wonder, why the
address of "call instruction" is pushed to RAS instead of address of
instruction next to the "call instruction".

I am referring to following line of code in "ReturnAddrStack::push(const
TheISA::PCState  &return_addr)" function:

       addrStack[tos] = return_addr;


Thanks
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to