From 7ed1726e91620cd058590d4efbc2794041f748c6 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Fri, 25 Aug 2006 20:26:55 +0000 Subject: - fix include path - add __ramfunc prefix to put function in RAM rather than ROM git-svn-id: https://svn.openpcd.org:2342/trunk@135 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/include/lib_AT91SAM7.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openpcd/firmware/include/lib_AT91SAM7.h b/openpcd/firmware/include/lib_AT91SAM7.h index f43aaec..63943e3 100644 --- a/openpcd/firmware/include/lib_AT91SAM7.h +++ b/openpcd/firmware/include/lib_AT91SAM7.h @@ -40,7 +40,7 @@ #ifndef lib_AT91SAM7S64_H #define lib_AT91SAM7S64_H -#include +#include /* ***************************************************************************** SOFTWARE API FOR AIC @@ -3471,4 +3471,6 @@ static inline void AT91F_PWMC_CfgPMC (void) ((unsigned int) 1 << AT91C_ID_PWMC)); } +#define __ramfunc __attribute__ ((long_call, section (".fastrun"))) + #endif // lib_AT91SAM7S64_H -- cgit v1.2.3