forked from PoliEcho-holding-org/kern
Began work FAT32 drivers in KBOOT
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#ifndef _DEFS_H
|
||||
#define _DEFS_H
|
||||
|
||||
#define __packed __attribute__((packed))
|
||||
#define __naked __attribute__((naked))
|
||||
#define __section(_sect) __attribute__((section(_sect)))
|
||||
#define noreturn __attribute__((noreturn))
|
||||
#define sizeof_array(_a) (sizeof(_a) / sizeof(_a[0]))
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user