Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | altos/lisp: Append a CRC to the saved image to validate on restore | Keith Packard | 2017-02-20 |
| | | | | | | | 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> | ||
* | altos/lisp: Add save/restore infrastructure. Needs OS support to work. | Keith Packard | 2017-02-20 |
This sticks a few globals past the end of the heap and then asks the OS to save the heap. On restore, the heap is re-populated by the OS and then various global variables reset. Signed-off-by: Keith Packard <keithp@keithp.com> |