[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] rumpkernel: rules: Add -DNUSB_DMA=1 to build with DMA in usb
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] rumpkernel: rules: Add -DNUSB_DMA=1 to build with DMA in usb |
Date: |
Sun, 21 Aug 2022 11:55:52 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Damien Zammit, le dim. 21 août 2022 07:02:26 +0000, a ecrit:
> This allows DMA in rump kernel usb drivers,
> stops an assert() crashing the rump kernel.
Applied, thanks!
>
> ---
> debian/rules | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/rules b/debian/rules
> index 3f2b637ad..2c8fc0648 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -40,7 +40,7 @@ override_dh_auto_build-arch:
> -V TOOLS_BUILDRUMP=yes -V MKGROFF=no -V
> TOPRUMP="$(CURDIR)/buildrump.sh/src/sys/rump" \
> -V BUILDRUMP_CPPFLAGS="-Wno-error=stringop-overread" \
> -V RUMPUSER_EXTERNAL_DPLIBS=pthread \
> - -V
> CPPFLAGS="-I../../obj/destdir.i386/usr/include -D_FILE_OFFSET_BITS=64
> -DRUMP_REGISTER_T=int -DRUMPUSER_CONFIG=yes -DNO_PCI_MSI_MSIX=yes" \
> + -V
> CPPFLAGS="-I../../obj/destdir.i386/usr/include -D_FILE_OFFSET_BITS=64
> -DRUMP_REGISTER_T=int -DRUMPUSER_CONFIG=yes -DNO_PCI_MSI_MSIX=yes
> -DNUSB_DMA=1" \
> -V CWARNFLAGS="-Wno-error=maybe-uninitialized
> -Wno-error=address-of-packed-member -Wno-error=unused-variable
> -Wno-error=stack-protector -Wno-error=array-parameter -Wno-error=array-bounds
> -Wno-error=stringop-overflow" \
> -V LIBCRTBEGIN=" " -V LIBCRTEND=" " -V LIBCRT0=" " -V
> LIBCRTI=" " \
> -V _GCC_CRTENDS=" " -V _GCC_CRTEND=" " \
> --
> 2.34.1
>
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.