X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fcore%2Fao_host.h;h=6eb752c9636f8e2f9645eabbc7e1e1bc1105e71f;hp=65c25fe53d619c89492c10abddf4658b9d276487;hb=bb9fdef607728cc326a82aa632e59724f272e53b;hpb=128bbfa150f88c09f7adde2434b7bf0b5a9ed556 diff --git a/src/core/ao_host.h b/src/core/ao_host.h index 65c25fe5..6eb752c9 100644 --- a/src/core/ao_host.h +++ b/src/core/ao_host.h @@ -46,6 +46,10 @@ struct ao_adc { #define __code #define __reentrant +#define DATA_TO_XDATA(a) (a) +#define PDATA_TO_XDATA(a) (a) +#define CODE_TO_XDATA(a) (a) + enum ao_flight_state { ao_flight_startup = 0, ao_flight_idle = 1, @@ -125,3 +129,7 @@ struct ao_config { #define ao_config_get() struct ao_config ao_config = { 250, 16000 }; + +#define ao_xmemcpy(d,s,c) memcpy(d,s,c) +#define ao_xmemset(d,v,c) memset(d,v,c) +#define ao_xmemcmp(d,s,c) memcmp(d,s,c)