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: kleink
Date: Sat Mar 11 15:40:07 UTC 2006
Modified Files:
src/sys/arch/amd64/isa: clock.c
src/sys/arch/i386/isa: clock.c
src/sys/dev: clock_subr.h
src/sys/lib/libkern: Makefile libkern.h
Added Files:
src/sys/lib/libkern: bcd.c
Log Message:
Provide BCD<->binary conversion in libkern and turn <dev/clock_subr.h>'s
FROMBCD()/TOBCD() macros into wrappers around it, resulting in both
smaller code footprint and elimination of possible issues due to
multiple evaluation of macro arguments.
Suggested by Simon Burge and Anders Gavare on tech-kern.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/arch/amd64/isa/clock.c
cvs rdiff -r1.90 -r1.91 src/sys/arch/i386/isa/clock.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/clock_subr.h
cvs rdiff -r1.77 -r1.78 src/sys/lib/libkern/Makefile
cvs rdiff -r0 -r1.1 src/sys/lib/libkern/bcd.c
cvs rdiff -r1.57 -r1.58 src/sys/lib/libkern/libkern.h
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