Lines Matching defs:panic
122 // functions, and gcc will get mad if a function calls panic and then
162 * This implements a cprintf based panic() function. panic() should
164 * regardless of what the user does (i.e., an acutal m5 bug). panic()
167 #define panic(...) exit_message(::Logger::getPanic(), __VA_ARGS__)
173 * etc.) and not a simulator bug. fatal() might call exit, unlike panic().
178 * Conditional panic macro that checks the supplied condition and only panics
180 * printout. Useful to replace if + panic, or if + print + assert, etc.
182 * @param cond Condition that is checked; if true -> panic
188 panic("panic condition " # cond " occurred: %s", \
255 panic("assert(" # cond ") failed: %s", csprintf(__VA_ARGS__)); \