| 613 | }; |
| 614 | |
| 615 | void help(void) |
| 616 | { |
| 617 | printf("temu version " CONFIG_VERSION ", Copyright (c) 2016-2018 Fabrice Bellard\n" |
| 618 | "usage: riscvemu [options] config_file\n" |
| 619 | "options are:\n" |
| 620 | "-m ram_size set the RAM size in MB\n" |
| 621 | "-rw allow write access to the disk image (default=snapshot)\n" |
| 622 | "-ctrlc the C-c key stops the emulator instead of being sent to the\n" |
| 623 | " emulated software\n" |
| 624 | "-append cmdline append cmdline to the kernel command line\n" |
| 625 | "-no-accel disable VM acceleration (KVM, x86 machine only)\n" |
| 626 | "\n" |
| 627 | "Console keys:\n" |
| 628 | "Press C-a x to exit the emulator, C-a h to get some help.\n"); |
| 629 | exit(1); |
| 630 | } |
| 631 | |
| 632 | #ifdef CONFIG_FS_NET |
| 633 | static BOOL net_completed; |