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>
Fri, 18 Nov 2016 06:18:39 +0000 (22:18 -0800)
commitd70a79fece4077c263a5773c8849ec60c6b649bc
tree19bf3359194d276fdec1d5f3c8c1006f52bcd632
parent6187afea14c2dbaae98b595963104c527a3a45c8
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