diff options
author | Helge Deller <deller@gmx.de> | 2023-06-21 17:35:22 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-21 17:35:22 +0200 |
commit | a07fa30fde24e354954087bbd21f4230f7eaee98 (patch) | |
tree | 5f831b6c3f6ba38acd70eb12db1f80a488d281bf | |
parent | af6d283cd39cc37b59e2a26d2131ddfc5d78b0c5 (diff) | |
download | seabios-hppa-a07fa30fde24e354954087bbd21f4230f7eaee98.zip seabios-hppa-a07fa30fde24e354954087bbd21f4230f7eaee98.tar.gz seabios-hppa-a07fa30fde24e354954087bbd21f4230f7eaee98.tar.bz2 |
parisc: Add exit option to boot menu
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/parisc/parisc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index 9a2ade4..8232d64 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c @@ -1779,6 +1779,7 @@ static void print_menu(void) #endif " HElp [<menu>|<command>] Display help for menu or command\n" " RESET Restart the system\n" + " EXIT Exit QEMU emulation\n" "-------\n"); } @@ -1866,6 +1867,10 @@ again2: reset(); if (input[0] == 'H' && input[1] == 'E') // HELP? goto again; + if (input[0] == 'L' && input[1] == 'S') // HELP? (ls) + goto again; + if (input[0] == 'E' && input[1] == 'X') // EXIT + hlt(); if (input[0] != 'B' || input[1] != 'O') { // BOOT? printf("Unknown command, please try again.\n\n"); goto again2; |