update checksum-oostubs target + experiment (use ecc for classes w/ inheritance)

* TODO: find bug in standAlone variant

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1380 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
chb
2012-06-22 12:14:55 +00:00
parent 09c3f64d51
commit 10ac5aac45
3 changed files with 66 additions and 47 deletions

View File

@ -7,29 +7,30 @@
// the task function's entry address:
// nm -C ecc.elf|fgrep main
#define OOSTUBS_FUNC_ENTRY 0x00101e88
#define OOSTUBS_FUNC_ENTRY 0x00101eaa
// empty function that is called explicitly when the experiment finished
// nm -C ecc.elf|fgrep "finished()"
#define OOSTUBS_FUNC_FINISH 0x00105040
#define OOSTUBS_FUNC_FINISH 0x00106a70
// function executing HLT with no chance for further progress (after panic())
// nm -C ecc.elf|fgrep cpu_halt
#define OOSTUBS_FUNC_CPU_HALT 0x001009f7
#define OOSTUBS_TEXT_START 0x00100000 //FIXME: use real values provided by linker
#define OOSTUBS_TEXT_END 0x00106bcc //FIXME: use real values provided by linker
// nm -C ecc.elf | fgrep "_TEXT_"
#define OOSTUBS_TEXT_START 0x00100000
#define OOSTUBS_TEXT_END 0x0010797b
// number of instructions the target executes under non-error conditions from ENTRY to DONE:
// (result of experiment's step #2)
#define OOSTUBS_NUMINSTR 0x3FB877
#define OOSTUBS_NUMINSTR 0x4340ED
// number of instructions that are executed additionally for error corrections
// (this is a rough guess ... TODO)
#define OOSTUBS_RECOVERYINSTR 0x2000
// the variable that's increased if ECC corrects an error:
// nm -C ecc.elf|fgrep errors_corrected
#define OOSTUBS_ERROR_CORRECTED 0x00109c14
#define OOSTUBS_ERROR_CORRECTED 0x0010b7b0
//
// nm -C ecc.elf|fgrep results
#define OOSTUBS_RESULTS_ADDR 0x00108f90
#define OOSTUBS_RESULTS_ADDR 0x0010ab2c
#define OOSTUBS_RESULTS_BYTES 12
#define OOSTUBS_RESULT0 0xab3566a9
#define OOSTUBS_RESULT1 0x44889112