diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-06-07 08:49:38 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-06-07 08:49:38 -0500 |
commit | 72ed528a948b151e7be5ce03ed3d2b88a229dd0a (patch) | |
tree | 0f90590c0faf6fcc85f26f92facc653112be53e0 /cpu/ixp/npe/include/IxOsalOsAssert.h | |
parent | 9f37dc8cabc94aed27aec8b4c69a390c8603fd28 (diff) | |
parent | e461a24113c66747510b07930a83b0d84171a559 (diff) | |
download | u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.zip u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.gz u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.bz2 |
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'cpu/ixp/npe/include/IxOsalOsAssert.h')
-rw-r--r-- | cpu/ixp/npe/include/IxOsalOsAssert.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/ixp/npe/include/IxOsalOsAssert.h b/cpu/ixp/npe/include/IxOsalOsAssert.h new file mode 100644 index 0000000..e4c3e1f --- /dev/null +++ b/cpu/ixp/npe/include/IxOsalOsAssert.h @@ -0,0 +1,10 @@ +#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 */ |