Skip to content

feat(checkpoint): include gcpt restorer in flash checkpoint#1097

Open
good-circle wants to merge 1 commit into
20260614-cpt-pr8from
20260614-cpt-pr9
Open

feat(checkpoint): include gcpt restorer in flash checkpoint#1097
good-circle wants to merge 1 commit into
20260614-cpt-pr8from
20260614-cpt-pr9

Conversation

@good-circle

Copy link
Copy Markdown
Contributor

Generate a C source from gcpt.bin at build time and link the restorer bytes into NEMU when flash support is enabled.

Before serializing a flash checkpoint, copy the embedded restorer to the flash base, then write the checkpoint register state using the existing flash checkpoint layout. This makes the generated flash.gz contain both the GCPT restorer and the architectural state needed by the restore flow.

Generate a C source from gcpt.bin at build time and link the restorer bytes into NEMU when flash support is enabled.

Before serializing a flash checkpoint, copy the embedded restorer to the flash base, then write the checkpoint register state using the existing flash checkpoint layout. This makes the generated _flash_.gz contain both the GCPT restorer and the architectural state needed by the restore flow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant