Date: Wed, 2 Mar 2005 21:33:29 +0000 (UTC) From: Joerg Wunsch <joerg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include _types.h atomic.h cpufunc.h critical.h endian.h in_cksum.h ioctl_bt848.h ioctl_meteor.h limits.h stdarg.h varargs.h src/sys/amd64/amd64 fpu.c... Message-ID: <200503022133.j22LXTih011115@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2005-03-02 21:33:29 UTC FreeBSD src repository Modified files: sys/alpha/include _types.h atomic.h cpufunc.h critical.h endian.h in_cksum.h ioctl_bt848.h ioctl_meteor.h limits.h stdarg.h varargs.h sys/amd64/amd64 fpu.c prof_machdep.c sys/amd64/include _types.h atomic.h bus_amd64.h cpufunc.h critical.h endian.h ieeefp.h in_cksum.h limits.h pcpu.h profile.h stdarg.h varargs.h sys/arm/arm busdma_machdep.c sys/arm/include _types.h limits.h stdarg.h sys/boot/arc/include arcfuncs.h sys/boot/efi/include/ia64 efibind.h sys/dev/cx machdep.h sys/dev/ichsmb ichsmb.c sys/dev/iir iir.h sys/dev/isp ispvar.h sys/dev/mcd mcdreg.h sys/dev/mpt/mpilib mpi_type.h sys/dev/random nehemiah.c sys/dev/scd scdreg.h sys/i386/acpica acpi_wakeup.c sys/i386/i386 identcpu.c in_cksum.c sys/i386/include _types.h atomic.h bus_at386.h cpufunc.h critical.h endian.h ieeefp.h in_cksum.h ioctl_bt848.h ioctl_meteor.h limits.h pcpu.h profile.h stdarg.h varargs.h sys/i386/isa npx.c prof_machdep.c sys/ia64/include _types.h cpufunc.h critical.h endian.h in_cksum.h limits.h stdarg.h sys/kern subr_prof.c sys/powerpc/include _types.h atomic.h critical.h endian.h in_cksum.h limits.h stdarg.h varargs.h sys/powerpc/powerpc busdma_machdep.c sys/sparc64/include _types.h critical.h endian.h stdarg.h varargs.h sys/sys cdefs.h dir.h ioctl.h linker_set.h queue.h syslimits.h Log: netchild's mega-patch to isolate compiler dependencies into a central place. This moves the dependency on GCC's and other compiler's features into the central sys/cdefs.h file, while the individual source files can then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42. By now, GCC and ICC (the Intel compiler) have been actively tested on IA32 platforms by netchild. Extension to other compilers is supposed to be possible, of course. Submitted by: netchild Reviewed by: various developers on arch@, some time ago Revision Changes Path 1.6 +8 -3 src/sys/alpha/include/_types.h 1.20 +16 -12 src/sys/alpha/include/atomic.h 1.16 +5 -1 src/sys/alpha/include/cpufunc.h 1.6 +3 -3 src/sys/alpha/include/critical.h 1.16 +3 -3 src/sys/alpha/include/endian.h 1.7 +1 -1 src/sys/alpha/include/in_cksum.h 1.4 +3 -1 src/sys/alpha/include/ioctl_bt848.h 1.5 +3 -1 src/sys/alpha/include/ioctl_meteor.h 1.15 +3 -1 src/sys/alpha/include/limits.h 1.7 +3 -3 src/sys/alpha/include/stdarg.h 1.7 +9 -7 src/sys/alpha/include/varargs.h 1.156 +3 -3 src/sys/amd64/amd64/fpu.c 1.23 +12 -12 src/sys/amd64/amd64/prof_machdep.c 1.7 +7 -2 src/sys/amd64/include/_types.h 1.33 +15 -11 src/sys/amd64/include/atomic.h 1.28 +23 -19 src/sys/amd64/include/bus_amd64.h 1.146 +10 -6 src/sys/amd64/include/cpufunc.h 1.9 +3 -3 src/sys/amd64/include/critical.h 1.7 +3 -3 src/sys/amd64/include/endian.h 1.12 +13 -5 src/sys/amd64/include/ieeefp.h 1.4 +1 -1 src/sys/amd64/include/in_cksum.h 1.10 +3 -1 src/sys/amd64/include/limits.h 1.43 +7 -2 src/sys/amd64/include/pcpu.h 1.44 +11 -7 src/sys/amd64/include/profile.h 1.7 +3 -1 src/sys/amd64/include/stdarg.h 1.13 +8 -8 src/sys/amd64/include/varargs.h 1.15 +3 -3 src/sys/arm/arm/busdma_machdep.c 1.6 +9 -4 src/sys/arm/include/_types.h 1.8 +3 -1 src/sys/arm/include/limits.h 1.3 +6 -6 src/sys/arm/include/stdarg.h 1.4 +11 -1 src/sys/boot/arc/include/arcfuncs.h 1.4 +1 -3 src/sys/boot/efi/include/ia64/efibind.h 1.5 +5 -1 src/sys/dev/cx/machdep.h 1.11 +1 -1 src/sys/dev/ichsmb/ichsmb.c 1.13 +5 -1 src/sys/dev/iir/iir.h 1.69 +4 -1 src/sys/dev/isp/ispvar.h 1.18 +8 -19 src/sys/dev/mcd/mcdreg.h 1.6 +5 -1 src/sys/dev/mpt/mpilib/mpi_type.h 1.3 +2 -2 src/sys/dev/random/nehemiah.c 1.8 +4 -10 src/sys/dev/scd/scdreg.h 1.39 +6 -2 src/sys/i386/acpica/acpi_wakeup.c 1.142 +2 -2 src/sys/i386/i386/identcpu.c 1.28 +6 -2 src/sys/i386/i386/in_cksum.c 1.11 +9 -4 src/sys/i386/include/_types.h 1.37 +15 -11 src/sys/i386/include/atomic.h 1.26 +23 -19 src/sys/i386/include/bus_at386.h 1.143 +10 -6 src/sys/i386/include/cpufunc.h 1.9 +3 -3 src/sys/i386/include/critical.h 1.41 +3 -13 src/sys/i386/include/endian.h 1.10 +6 -2 src/sys/i386/include/ieeefp.h 1.17 +6 -2 src/sys/i386/include/in_cksum.h 1.31 +3 -1 src/sys/i386/include/ioctl_bt848.h 1.16 +3 -1 src/sys/i386/include/ioctl_meteor.h 1.27 +3 -1 src/sys/i386/include/limits.h 1.43 +7 -2 src/sys/i386/include/pcpu.h 1.40 +10 -6 src/sys/i386/include/profile.h 1.20 +6 -6 src/sys/i386/include/stdarg.h 1.14 +9 -5 src/sys/i386/include/varargs.h 1.156 +3 -3 src/sys/i386/isa/npx.c 1.21 +8 -12 src/sys/i386/isa/prof_machdep.c 1.9 +8 -3 src/sys/ia64/include/_types.h 1.22 +7 -3 src/sys/ia64/include/cpufunc.h 1.6 +3 -3 src/sys/ia64/include/critical.h 1.14 +3 -3 src/sys/ia64/include/endian.h 1.3 +1 -1 src/sys/ia64/include/in_cksum.h 1.13 +3 -1 src/sys/ia64/include/limits.h 1.8 +1 -1 src/sys/ia64/include/stdarg.h 1.75 +2 -2 src/sys/kern/subr_prof.c 1.7 +8 -3 src/sys/powerpc/include/_types.h 1.11 +10 -6 src/sys/powerpc/include/atomic.h 1.8 +3 -3 src/sys/powerpc/include/critical.h 1.14 +3 -3 src/sys/powerpc/include/endian.h 1.3 +1 -1 src/sys/powerpc/include/in_cksum.h 1.28 +3 -1 src/sys/powerpc/include/limits.h 1.9 +4 -4 src/sys/powerpc/include/stdarg.h 1.6 +11 -3 src/sys/powerpc/include/varargs.h 1.23 +3 -3 src/sys/powerpc/powerpc/busdma_machdep.c 1.8 +8 -3 src/sys/sparc64/include/_types.h 1.6 +3 -3 src/sys/sparc64/include/critical.h 1.15 +1 -1 src/sys/sparc64/include/endian.h 1.8 +7 -3 src/sys/sparc64/include/stdarg.h 1.8 +7 -7 src/sys/sparc64/include/varargs.h 1.86 +74 -4 src/sys/sys/cdefs.h 1.10 +3 -1 src/sys/sys/dir.h 1.14 +5 -2 src/sys/sys/ioctl.h 1.17 +8 -4 src/sys/sys/linker_set.h 1.60 +3 -3 src/sys/sys/queue.h 1.21 +4 -1 src/sys/sys/syslimits.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503022133.j22LXTih011115>