altos/lisp: Append a CRC to the saved image to validate on restore
authorKeith Packard <keithp@keithp.com>
Sat, 12 Nov 2016 07:34:54 +0000 (23:34 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:50 +0000 (11:16 -0800)
commit33aeffc123af1f9063969acf585f1caac885ced4
treebf4f87c83c46ce815070933b947ba27fa65724c8
parent8f2d60b4c029bffaa559bd1f31f5b15230dfa674
altos/lisp: Append a CRC to the saved image to validate on restore

The CRC is actually of the ROM bits, so we can tell if the restored
image relates to the currently running code.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lambdakey-v1.0/ao_lisp_os_save.c [new file with mode: 0644]
src/lisp/ao_lisp.h
src/lisp/ao_lisp_make_const.c
src/lisp/ao_lisp_mem.c
src/lisp/ao_lisp_save.c
src/test/ao_lisp_test.c
src/test/hanoi.lisp