From 4a657a3044a67deebf1d25b2d51c11a747e08577 Mon Sep 17 00:00:00 2001 From: xj Date: Thu, 4 Jul 2024 02:53:40 -0700 Subject: [PATCH] replace DSB --- .../services/drivers/usb/components/port/xhci/xhci_reg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci_reg.h b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci_reg.h index 3c4a7d4fa..5702efe46 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci_reg.h +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci_reg.h @@ -391,11 +391,11 @@ enum { #define BARRIER() __asm__ __volatile__("": : :"memory") #ifdef XHCI_AARCH64 -// #define DSB() __asm__ __volatile__("dsb sy": : : "memory") -#define DSB() __asm__ volatile("dsb ish\n\t") +#define DSB() __asm__ __volatile__("dsb sy": : : "memory") +// #define DSB() __asm__ volatile("dsb ish\n\t") #else -// #define DSB() __asm__ __volatile__("dsb": : : "memory") -#define DSB() __asm__ volatile("dsb ish\n\t") +#define DSB() __asm__ __volatile__("dsb": : : "memory") +// #define DSB() __asm__ volatile("dsb ish\n\t") #endif