Patchwork [3/5] milkymist-minimac2: Fix minimac2_read/_write tracepoints

login
register
mail settings
Submitter Markus Armbruster
Date June 7, 2013, 10:59 a.m.
Message ID <1370602761-3566-4-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/249658/
State New
Headers show

Comments

Markus Armbruster - June 7, 2013, 10:59 a.m.
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>
---
 hw/net/milkymist-minimac2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c
index 4ef6318..7448777 100644
--- a/hw/net/milkymist-minimac2.c
+++ b/hw/net/milkymist-minimac2.c
@@ -355,7 +355,7 @@  minimac2_write(void *opaque, hwaddr addr, uint64_t value,
 {
     MilkymistMinimac2State *s = opaque;
 
-    trace_milkymist_minimac2_memory_read(addr, value);
+    trace_milkymist_minimac2_memory_write(addr, value);
 
     addr >>= 2;
     switch (addr) {