Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
hw/sd/sdhci.c | 8 ++++++++
hw/sd/trace-events | 1 +
2 files changed, 9 insertions(+)
diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c
index 8293d83556..66b9364e9e 100644
--- a/hw/sd/sdhci.c
+++ b/hw/sd/sdhci.c
@@ -693,6 +693,11 @@ typedef struct ADMADescr {
uint8_t incr;
} ADMADescr;
+static void trace_adma_description(const char *type, const ADMADescr *dscr)
+{
+ trace_sdhci_adma_desc(type, dscr->addr, dscr->length, dscr->attr,
dscr->incr);
+}
+