Mercurial > flash_v2
changeset 566:17d4ac30ee71
return_to_redboot tweak
| author | msalter |
|---|---|
| date | Tue, 04 Feb 2003 21:42:51 +0000 |
| parents | 7e4907f574a7 |
| children | 6a4aa156dda1 |
| files | packages/redboot/current/ChangeLog packages/redboot/current/src/main.c |
| diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/redboot/current/ChangeLog +++ b/packages/redboot/current/ChangeLog @@ -1,3 +1,8 @@ +2003-02-04 Mark Salter <msalter@redhat.com> +2003-02-04 Brian Murphy <brian@murphy.dk> + + * src/main.c (return_to_redboot): Add CYGARC_HAL_RESTORE_GP. + 2003-01-10 Patrick Doyle <wpd@delcomsys.com> * src/load.c (do_load): Don't abort and complain about overwriting
--- a/packages/redboot/current/src/main.c +++ b/packages/redboot/current/src/main.c @@ -411,6 +411,10 @@ return_to_redboot(int status) go_return_status = status; HAL_THREAD_LOAD_CONTEXT(&go_saved_context); // never returns + + // need this to balance above CYGARC_HAL_SAVE_GP on + // some platforms. It will never run, though. + CYGARC_HAL_RESTORE_GP(); } void
