mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 04:48:52 +09:00
![Marek Vasut](/assets/img/avatar_default.png)
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: U-Boot DM <u-boot-dm@lists.denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com>
11 lines
381 B
C
11 lines
381 B
C
#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); \
|
|
}
|
|
|
|
#endif /* IxOsalOsAssert_H */
|