projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add at91sam7 flash driver.
[bertos.git]
/
bertos
/
cpu
/
attr.h
diff --git
a/bertos/cpu/attr.h
b/bertos/cpu/attr.h
index 98ed7b2fe6b24cc562a83a63129d1386aa8b2f58..c6d8373484d300c7f3c6deded36c9ff993da9629 100644
(file)
--- a/
bertos/cpu/attr.h
+++ b/
bertos/cpu/attr.h
@@
-158,6
+158,11
@@
*/
#define ISR_FUNC __attribute__((interrupt))
+ /*
+ * Function attribute to move it into ram memory.
+ */
+ #define RAM_FUNC __attribute__((section(".data")))
+
#endif /* !__IAR_SYSTEMS_ICC_ */
#elif CPU_PPC