milkymist-minimac2: Fix minimac2_read/_write tracepoints

Broken in milkymist-minimac.c from the start (commit 0742454),
faithfully moved to milkymist-minimac2.c (commit 57aa265).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Markus Armbruster 2013-06-07 12:59:19 +02:00 committed by Stefan Hajnoczi
parent f3a64b8c89
commit 0ece9671fd

View File

@ -355,7 +355,7 @@ minimac2_write(void *opaque, hwaddr addr, uint64_t value,
{ {
MilkymistMinimac2State *s = opaque; MilkymistMinimac2State *s = opaque;
trace_milkymist_minimac2_memory_read(addr, value); trace_milkymist_minimac2_memory_write(addr, value);
addr >>= 2; addr >>= 2;
switch (addr) { switch (addr) {