ecos_kernel_test: merge experiment steps 0-2 into a single run
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1443 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -1,40 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
// FIXME autogenerate this
|
||||
// autogenerated, don't edit!
|
||||
|
||||
#if 1 // with ECC
|
||||
// user-specified start-function address:
|
||||
// nm -C thread1.elf|fgrep cyg_start
|
||||
#define ECOS_FUNC_ENTRY 0x0000406c
|
||||
// cyg_test_exit address
|
||||
#define ECOS_FUNC_FINISH 0x00005eb0
|
||||
// cyg_test_output address
|
||||
#define ECOS_FUNC_TEST_OUTPUT 0x00005eb8
|
||||
// the variable that's increased if ECC corrects an error:
|
||||
#define ECOS_ERROR_CORRECTED 0x99999999
|
||||
|
||||
// the task function's entry address:
|
||||
// nm -C thread1 | fgrep cyg_start
|
||||
#define ECOS_FUNC_ENTRY 0x00003cc0
|
||||
// empty function that is called explicitly when the experiment finished
|
||||
// nm -C thread1 | fgrep cyg_test_exit
|
||||
#define ECOS_FUNC_FINISH 0x000058dc
|
||||
// nm -C thread1 | fgrep "cyg_test_output"
|
||||
#define ECOS_FUNC_TEST_OUTPUT 0x000058e4
|
||||
// text begin:
|
||||
// nm -C thread1.elf|fgrep _stext
|
||||
#define ECOS_TEXT_START 0x00003000
|
||||
// text end:
|
||||
// nm -C thread1.elf|fgrep _etext
|
||||
#define ECOS_TEXT_END 0x00013c9e
|
||||
|
||||
// nm -C thread1 | grep "_[se]text"
|
||||
#define ECOS_TEXT_START 0x00003000
|
||||
#define ECOS_TEXT_END 0x000092ce
|
||||
|
||||
// number of instructions the target executes under non-error conditions from ENTRY to DONE:
|
||||
// (result of experiment's step #2)
|
||||
#define ECOS_NUMINSTR 12390
|
||||
// number of instructions the target executes under non-error conditions from ENTRY to FINISH:
|
||||
#define ECOS_NUMINSTR 71618
|
||||
// number of instructions that are executed additionally for error corrections
|
||||
// (this is a rough guess ... TODO)
|
||||
#define ECOS_RECOVERYINSTR 0x2000
|
||||
// the variable that's increased if ECC corrects an error:
|
||||
// nm -C thread1|fgrep errors_corrected
|
||||
#define ECOS_ERROR_CORRECTED 0x0010adec //FIXME TODO XXX
|
||||
|
||||
#else // without ECC
|
||||
|
||||
#define COOL_ECC_FUNC_ENTRY 0x00200a90
|
||||
#define COOL_ECC_CALCDONE 0x00200ab7
|
||||
#define COOL_ECC_NUMINSTR 97
|
||||
#define COOL_ECC_OBJUNDERTEST 0x0021263c
|
||||
#define COOL_ECC_OBJUNDERTEST_SIZE 10
|
||||
#define COOL_ECC_ERROR_CORRECTED 0x002127b0 // dummy
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user