altos/telegps-v2.0: git ignore make results
[fw/altos] / src / lisp / ao_lisp.h
index fa3632b157afaeb8c38c8c7a9c7810efe5395434..980514ccb826afe15d74f6f350a6295e9c4b19f8 100644 (file)
@@ -50,7 +50,7 @@ ao_lisp_os_restore(void);
 
 #ifdef AO_LISP_MAKE_CONST
 #define AO_LISP_POOL_CONST     16384
-extern uint8_t ao_lisp_const[AO_LISP_POOL_CONST];
+extern uint8_t ao_lisp_const[AO_LISP_POOL_CONST] __attribute__((aligned(4)));
 #define ao_lisp_pool ao_lisp_const
 #define AO_LISP_POOL AO_LISP_POOL_CONST
 
@@ -79,12 +79,16 @@ extern uint8_t ao_lisp_const[AO_LISP_POOL_CONST];
 #define _ao_lisp_atom_restore  _atom("restore")
 #define _ao_lisp_atom_call2fcc _atom("call/cc")
 #define _ao_lisp_atom_collect  _atom("collect")
+#define _ao_lisp_atom_symbolp   _atom("symbol?")
+#define _ao_lisp_atom_builtin   _atom("builtin?")
+#define _ao_lisp_atom_symbolp   _atom("symbol?")
+#define _ao_lisp_atom_symbolp   _atom("symbol?")
 #else
 #include "ao_lisp_const.h"
 #ifndef AO_LISP_POOL
 #define AO_LISP_POOL   3072
 #endif
-extern uint8_t         ao_lisp_pool[AO_LISP_POOL + AO_LISP_POOL_EXTRA];
+extern uint8_t         ao_lisp_pool[AO_LISP_POOL + AO_LISP_POOL_EXTRA] __attribute__((aligned(4)));
 #endif
 
 /* Primitive types */