altos/lisp: Add save/restore infrastructure. Needs OS support to work.
[fw/altos] / src / lisp / ao_lisp_make_const.c
index 0b3e25a6df079787182787abecf0dc120d1b07ae..0a8c9d0752ce6603a40695b56d68406416819077 100644 (file)
@@ -67,6 +67,8 @@ struct builtin_func funcs[] = {
        "flush",        AO_LISP_FUNC_LAMBDA,    builtin_flush,
        "delay",        AO_LISP_FUNC_LAMBDA,    builtin_delay,
        "led",          AO_LISP_FUNC_LEXPR,     builtin_led,
+       "save",         AO_LISP_FUNC_LAMBDA,    builtin_save,
+       "restore",      AO_LISP_FUNC_LAMBDA,    builtin_restore,
 };
 
 #define N_FUNC (sizeof funcs / sizeof funcs[0])