X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Fcpu.h;h=af769d644293c3e5f37221328c2a5acc655df6b1;hb=96bda3a8889719af5e4475aaf853487f2e99e01f;hp=a99285dc19746e24dfb4c625872fdcfd7f977ce2;hpb=df330fe6711957e5fb0434b8b7147d1edc05e414;p=bertos.git diff --git a/cpu/cpu.h b/cpu/cpu.h index a99285dc..af769d64 100644 --- a/cpu/cpu.h +++ b/cpu/cpu.h @@ -26,7 +26,7 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2004, 2005,2006, 2007 Develer S.r.l. (http://www.develer.com/) + * Copyright 2004, 2005, 2006, 2007 Develer S.r.l. (http://www.develer.com/) * Copyright 2004 Giovanni Bajo * * --> @@ -42,7 +42,6 @@ #define CPU_CPU_H #include "detect.h" - #include /* for uintXX_t */ #include /* ARCH_EMUL */ @@ -56,10 +55,10 @@ /*\}*/ /** Macro to include cpu-specific versions of the headers. */ -#define CPU_HEADER(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).h) +#define CPU_HEADER(module) PP_STRINGIZE(drv/PP_CAT3(module, _, CPU_ID).h) /** Macro to include cpu-specific versions of implementation files. */ -#define CPU_CSOURCE(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).c) +#define CPU_CSOURCE(module) PP_STRINGIZE(drv/PP_CAT3(module, _, CPU_ID).c) #if CPU_I196 @@ -161,7 +160,6 @@ #define BREAKPOINT /* asm("bkpt 0") DOES NOT WORK */ #else /* !__IAR_SYSTEMS_ICC__ */ - #define NOP asm volatile ("mov r0,r0" ::) #define IRQ_DISABLE \