kernel: implement panic()
This commit is contained in:
@@ -21,15 +21,18 @@ void write_once(volatile T *ptr, T value)
|
||||
#endif
|
||||
|
||||
#undef __used
|
||||
#define __used __attribute__((used))
|
||||
#define __used __attribute__((__used__))
|
||||
|
||||
#undef __noreturn
|
||||
#define __noreturn __attribute__((__noreturn__))
|
||||
|
||||
#undef __packed
|
||||
#define __packed __attribute__((packed))
|
||||
#define __packed __attribute__((__packed__))
|
||||
|
||||
#undef __section
|
||||
#define __section(name) __attribute__((section(name)))
|
||||
#define __section(name) __attribute__((__section__(name)))
|
||||
|
||||
#undef __aligned
|
||||
#define __aligned(x) __attribute__((aligned(x)))
|
||||
#define __aligned(x) __attribute__((__aligned__(x)))
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user