Use prettier #defines for attributes
This commit is contained in:
8
kernel/aux/compiler.h
Normal file
8
kernel/aux/compiler.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef _KERNEL_AUX_COMPILER_H
|
||||
#define _KERNEL_AUX_COMPILER_H
|
||||
|
||||
#define PACKED __attribute__((packed))
|
||||
#define ALIGNED(N) __attribute__((aligned((N))))
|
||||
#define SECTION(name) __attribute__((section(name)))
|
||||
|
||||
#endif // _KERNEL_AUX_COMPILER_H
|
||||
Reference in New Issue
Block a user