Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   he
Date:           Sat Jun  4 20:14:25 UTC 2005

Modified Files:
        src/sys/arch/acorn26/ioc: rtc.c
        src/sys/arch/arc/arc: todclock.c
        src/sys/arch/arm/ep93xx: epclk.c
        src/sys/arch/arm/iomd: iomd_clock.c
        src/sys/arch/arm/xscale: becc_timer.c i80321_timer.c ixp425_timer.c
        src/sys/arch/evbarm/iq80310: iq80310_timer.c
        src/sys/arch/mvme68k/mvme68k: clock.c
        src/sys/arch/mvmeppc/mvmeppc: clock.c
        src/sys/arch/powerpc/ibm4xx/dev: rtc.c
        src/sys/arch/prep/prep: clock.c
        src/sys/arch/sbmips/sbmips: rtc.c
        src/sys/arch/sparc/sparc: clock.c
        src/sys/dev: clock_subr.h
        src/sys/dev/i2c: ds1307.c m41st84.c m41t00.c max6900.c pcf8583.c
            x1226.c
        src/sys/dev/ic: intersil7170.c mc146818.c mk48txx.c mm58167.c

Log Message:
Fix the various todr_gettime() and todr_settime() fallouts from
-Wcast-qual differently, by instead changing the signatore of those
"functions" to take a "volatile struct timeval*" instead of a
"struct timeval*".  Many places, these functions are called with
&time, and time is declared as volatile in <sys/kernel.h>.  This
way we can get rid of all the ugly casts which now also triggered
warnings, and caused more code to be added to work around the
problem.

Reviewed by thorpej.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/arch/acorn26/ioc/rtc.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/arc/arc/todclock.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/arm/ep93xx/epclk.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/arm/iomd/iomd_clock.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/arm/xscale/becc_timer.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/arm/xscale/i80321_timer.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/arm/xscale/ixp425_timer.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/evbarm/iq80310/iq80310_timer.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/mvme68k/mvme68k/clock.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/mvmeppc/mvmeppc/clock.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/powerpc/ibm4xx/dev/rtc.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/prep/prep/clock.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/sbmips/sbmips/rtc.c
cvs rdiff -r1.94 -r1.95 src/sys/arch/sparc/sparc/clock.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/clock_subr.h
cvs rdiff -r1.1 -r1.2 src/sys/dev/i2c/ds1307.c src/sys/dev/i2c/max6900.c \
    src/sys/dev/i2c/pcf8583.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/i2c/m41st84.c src/sys/dev/i2c/m41t00.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/i2c/x1226.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/ic/intersil7170.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/ic/mc146818.c src/sys/dev/ic/mm58167.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/ic/mk48txx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index