Use reg32_t for registers.
[bertos.git] / cpu / cpu.h
index 911c78c05b3e88c1c64b137a02dadb9e1462043e..af769d644293c3e5f37221328c2a5acc655df6b1 100644 (file)
--- a/cpu/cpu.h
+++ b/cpu/cpu.h
 /*\}*/
 
 /** 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
                #define BREAKPOINT  /* asm("bkpt 0") DOES NOT WORK */
 
        #else /* !__IAR_SYSTEMS_ICC__ */
-
-               #warning "IRQ_ macros need testing!"
-               #warning "Test now or die :-)"
-
                #define NOP         asm volatile ("mov r0,r0" ::)
 
                #define IRQ_DISABLE \