qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.1 4/5] hw/sd/sdhci: Trace ADMA descriptors


From: Richard Henderson
Subject: Re: [PATCH-for-9.1 4/5] hw/sd/sdhci: Trace ADMA descriptors
Date: Wed, 31 Jul 2024 14:32:04 +1000
User-agent: Mozilla Thunderbird

On 7/30/24 19:21, Philippe Mathieu-Daudé wrote:
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);
+}
+

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]