ecos_kernel_test: record error detected/corrected

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1882 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
chb
2012-11-06 10:51:41 +00:00
parent 9e5de7b14a
commit b7bbcd389f
2 changed files with 12 additions and 3 deletions

View File

@ -23,7 +23,9 @@ cat <<EOF
// cyg_test_output address
#define ECOS_FUNC_TEST_OUTPUT 0x`addrof $1 cyg_test_output`
// the variable that's increased if ECC corrects an error:
#define ECOS_ERROR_CORRECTED 0x`addrof $1 errors_corrected`
#define ECC_ERROR_CORRECTED 0x`addrof $1 errors_corrected`
// the function that is called when an uncorrectable error occurs
#define ECC_FUNC_PANIC 0x`addrof $1 ecc_panic`
// text begin:
// nm -C $(basename $1)|fgrep _stext