2016-08-07 02:48:45 +02:00
|
|
|
#ifndef __ARCH_ARM_INCLUDE_CALYPSO_DEFINES_H
|
|
|
|
#define __ARCH_ARM_INCLUDE_CALYPSO_DEFINES_H
|
2012-03-24 18:27:38 +01:00
|
|
|
|
|
|
|
#define __attribute_const__ __attribute__((__const__))
|
|
|
|
|
|
|
|
/* type properties */
|
|
|
|
#define __packed __attribute__((packed))
|
|
|
|
#define __aligned(alignment) __attribute__((aligned(alignment)))
|
|
|
|
#define __unused __attribute__((unused))
|
|
|
|
|
|
|
|
/* linkage */
|
|
|
|
#define __section(name) __attribute__((section(name)))
|
|
|
|
|
|
|
|
/* force placement in zero-waitstate memory */
|
|
|
|
#define __ramtext __section(".ramtext")
|
|
|
|
|
2016-08-07 02:48:45 +02:00
|
|
|
#endif /* !__ARCH_ARM_INCLUDE_CALYPSO_DEFINES_H */
|