MemAccess aspect: only save rmw_address if MEMREAD/MEMWRITE is enabled
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1456 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -129,7 +129,9 @@ aspect MemAccess {
|
|||||||
|
|
||||||
advice execution (read_methods_RMW()) : before ()
|
advice execution (read_methods_RMW()) : before ()
|
||||||
{
|
{
|
||||||
|
#if defined(CONFIG_EVENT_MEMREAD) || defined(CONFIG_EVENT_MEMWRITE)
|
||||||
rmw_address = *(tjp->arg<1>());
|
rmw_address = *(tjp->arg<1>());
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_EVENT_MEMREAD
|
#ifdef CONFIG_EVENT_MEMREAD
|
||||||
fail::simulator.onMemoryAccess(
|
fail::simulator.onMemoryAccess(
|
||||||
*(tjp->arg<1>()), sizeof(*(tjp->result())), false,
|
*(tjp->arg<1>()), sizeof(*(tjp->result())), false,
|
||||||
|
|||||||
Reference in New Issue
Block a user