smart-green-house/rtt-uart-nb/rt-thread/components/dfs/filesystems/jffs2/kernel/asm/bug.h

7 lines
165 B
C

#ifndef __ASM_BUG_H__
#define __ASM_BUG_H__
#define BUG() do { printf("BUG() at %s %d\n", __FILE__, __LINE__); *(int *)0=0; } while (0)
#endif /* __ASM_BUG_H__ */