X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpc%2Fao_arch.h;h=7821839e12d200e87c350a9149fb23dee16cb591;hb=2f87e182d9f0b3c2856f62149371ad70b16148cf;hp=f1df14eb61ddb712097940d0558d9d3662dd06db;hpb=7c04888cf9809e0c73f0813c74e8dd972facde3a;p=fw%2Faltos diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h index f1df14eb..7821839e 100644 --- a/src/lpc/ao_arch.h +++ b/src/lpc/ao_arch.h @@ -42,11 +42,6 @@ #define ao_arch_naked_declare __attribute__((naked)) #define ao_arch_naked_define -#define __pdata -#define __data -#define __xdata -#define __code const -#define __reentrant #define __interrupt(n) #define __at(n) @@ -63,17 +58,7 @@ * ao_romconfig.c */ -#define AO_ROMCONFIG_VERSION 2 - -#define AO_ROMCONFIG_SYMBOL(a) __attribute__((section(".romconfig"))) const - -extern const uint16_t ao_romconfig_version; -extern const uint16_t ao_romconfig_check; -extern const uint16_t ao_serial_number; -extern const uint32_t ao_radio_cal; - -#define ao_arch_task_members\ - uint32_t *sp; /* saved stack pointer */ +#define AO_ROMCONFIG_SYMBOL __attribute__((section(".romconfig"))) const #define ao_arch_block_interrupts() asm("cpsid i") #define ao_arch_release_interrupts() asm("cpsie i")