Move a bunch of variables from __data to __xdata
[fw/altos] / ao.h
diff --git a/ao.h b/ao.h
index 5574f30fe156fb7262c2e983b0e748496772eae8..23f131722f087a2a1940d2cbc700e7fe8cc79125 100644 (file)
--- a/ao.h
+++ b/ao.h
@@ -29,7 +29,7 @@
 /* Stack runs from above the allocated __data space to 0xfe, which avoids
  * writing to 0xff as that triggers the stack overflow indicator
  */
-#define AO_STACK_START 0x7f
+#define AO_STACK_START 0x5c
 #define AO_STACK_END   0xfe
 #define AO_STACK_SIZE  (AO_STACK_END - AO_STACK_START + 1)
 
@@ -305,10 +305,10 @@ ao_dma_isr(void) interrupt 8;
  */
 
 void
-ao_mutex_get(__xdata uint8_t *ao_mutex);
+ao_mutex_get(__xdata uint8_t *ao_mutex) __reentrant;
 
 void
-ao_mutex_put(__xdata uint8_t *ao_mutex);
+ao_mutex_put(__xdata uint8_t *ao_mutex) __reentrant;
 
 /*
  * ao_ee.c