X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fattr.h;h=c6d8373484d300c7f3c6deded36c9ff993da9629;hb=507e95236d43b2aa6d6b6e46bde5cb92345ab034;hp=98ed7b2fe6b24cc562a83a63129d1386aa8b2f58;hpb=9a9d8e33e942f8a2af0828181203c4a1def62adb;p=bertos.git diff --git a/bertos/cpu/attr.h b/bertos/cpu/attr.h index 98ed7b2f..c6d83734 100644 --- 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