Actions
Bug #223
closeduse bus_dma in i386/isa/clock.c
Description
we need to rewrite clock.c to use bus_dma to reduce warnings
Actions
Added by corecode over 18 years ago. Updated over 10 years ago.
Description
we need to rewrite clock.c to use bus_dma to reduce warnings
Are you referring to sys/platform/pc32/isa/clock.c?
Can you confirm this is still needed?
Hi,
Can we have a bit more information what's exactly needed here please?
Cheers,
Antonio Huete
Apparently related to build warnings. Grabbing.
Hi,
There are no warnings at all. In fact it is built with -Werror:
[...]
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wold-style-definition -Wold-style-declaration -Wno-inline -Wno-pointer-sign -std=c99 -Wno-unused-but-set-variable -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include -I/usr/obj/usr/src/sys/GENERIC -I"/usr/src/sys/dev/acpica" -I"/usr/src/sys/contrib/dev/acpica-unix/include" -I/usr/src/sys/dev/netif/ath/hal -I/usr/src/sys/dev/netif/ath/hal/ath_hal -I/usr/src/sys/dev/drm/include -D_KERNEL -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -mpreferred-stack-boundary=2 -fno-stack-protector -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt -mno-avx2 -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-fma -mno-fma4 -mno-bmi -mno-bmi2 -mno-xop -mno-lwp -mno-lzcnt -mno-tbm -msoft-float /usr/src/sys/platform/pc32/isa/clock.c -Werror
[...]
Closing this one.
Cheers,
Antonio Huete