u-boot/cpu/ixp/npe/include/IxOsalOsAssert.h

11 lines
381 B
C
Raw Normal View History

#ifndef IxOsalOsAssert_H
#define IxOsalOsAssert_H
#define IX_OSAL_OS_ASSERT(c) if(!(c)) \
{ \
ixOsalLog (IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDOUT, "Assertion failure \n", 0, 0, 0, 0, 0, 0);\
while(1); \
}
2006-05-30 13:58:20 +00:00
#endif /* IxOsalOsAssert_H */