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

7 lines
165 B
C
Raw Permalink Normal View History

2023-10-28 18:00:47 +08:00
#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__ */