Date: Thu, 2 Dec 2010 22:19:30 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man9 bus_space.9 src/sys/amd64/include bus.h src/sys/arm/include bus.h src/sys/i386/include bus.h src/sys/ia64/include bus.h src/sys/mips/include bus.h src/sys/pc98/include bus.h src/sys/powerpc/include bus.h ... Message-ID: <201012022221.oB2MLBJw096723@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brucec 2010-12-02 22:19:30 UTC FreeBSD src repository Modified files: share/man/man9 bus_space.9 sys/amd64/include bus.h sys/arm/include bus.h sys/i386/include bus.h sys/ia64/include bus.h sys/mips/include bus.h sys/pc98/include bus.h sys/powerpc/include bus.h sys/sparc64/include bus.h sys/sun4v/include bus.h Log: SVN rev 216134 on 2010-12-02 22:19:30Z by brucec Disallow passing in a count of zero bytes to the bus_space(9) functions. Passing a count of zero on i386 and amd64 for [I386|AMD64]_BUS_SPACE_MEM causes a crash/hang since the 'loop' instruction decrements the counter before checking if it's zero. PR: kern/80980 Discussed with: jhb Revision Changes Path 1.6 +3 -0 src/share/man/man9/bus_space.9 1.18 +18 -12 src/sys/amd64/include/bus.h 1.12 +59 -8 src/sys/arm/include/bus.h 1.15 +24 -12 src/sys/i386/include/bus.h 1.28 +31 -24 src/sys/ia64/include/bus.h 1.8 +67 -8 src/sys/mips/include/bus.h 1.10 +9 -7 src/sys/pc98/include/bus.h 1.22 +69 -11 src/sys/powerpc/include/bus.h 1.45 +59 -56 src/sys/sparc64/include/bus.h 1.8 +59 -56 src/sys/sun4v/include/bus.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012022221.oB2MLBJw096723>