#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 (0); const address_t ANY_ADDR = static_cast (-1); const unsigned ANY_INSTR = static_cast (-1); const unsigned ANY_TRAP = static_cast (-1); const unsigned ANY_INTERRUPT = static_cast (-1); const timer_id_t INVALID_TIMER = static_cast (0); #else #error SAL Config Target not defined #endif } // end-of-namespace: fail