git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1740 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
21 lines
744 B
C++
21 lines
744 B
C++
#include "SALConfig.hpp"
|
|
|
|
namespace fail {
|
|
|
|
// Flag initialization depends on the current selected simulator
|
|
// (For now, the initialization values are all the same):
|
|
#if defined BUILD_BOCHS || defined BUILD_GEM5 || \
|
|
defined BUILD_OVP || defined BUILD_QEMU || \
|
|
defined BUILD_T32
|
|
const address_t ADDR_INV = static_cast<address_t> (0);
|
|
const address_t ANY_ADDR = static_cast<address_t> (-1);
|
|
const unsigned ANY_INSTR = static_cast<unsigned> (-1);
|
|
const unsigned ANY_TRAP = static_cast<unsigned> (-1);
|
|
const unsigned ANY_INTERRUPT = static_cast<unsigned> (-1);
|
|
const timer_id_t INVALID_TIMER = static_cast<timer_id_t> (0);
|
|
#else
|
|
#error SAL Config Target not defined
|
|
#endif
|
|
|
|
} // end-of-namespace: fail
|