Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   kamil
Date:           Sun Feb 24 21:14:43 UTC 2019

Modified Files:
        src/sys/sys: kcov.h
        src/tests/modules: t_kcov.c

Log Message:
Add KCOV_LOAD() and KCOV_STORE() - new helper macros

New macros prefer 64-bit atomic operations whenever accessible.

As a fallback they use volatile move operations that are not known
to have negative effect in KCOV even if interrupted in the middle of
operation.

Enable kcov_basic and kcov_thread tests on targets without
__HAVE_ATOMIC64_OPS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/kcov.h
cvs rdiff -u -r1.2 -r1.3 src/tests/modules/t_kcov.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