qemu-common.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * This file is supposed to be included only by .c files. No header file should
  3. * depend on qemu-common.h, as this would easily lead to circular header
  4. * dependencies.
  5. *
  6. * If a header file uses a definition from qemu-common.h, that definition
  7. * must be moved to a separate header file, and the header that uses it
  8. * must include that header.
  9. */
  10. #ifndef QEMU_COMMON_H
  11. #define QEMU_COMMON_H
  12. /* Copyright string for -version arguments, About dialogs, etc */
  13. #define QEMU_COPYRIGHT "Copyright (c) 2003-2022 " \
  14. "Fabrice Bellard and the QEMU Project developers"
  15. /* Bug reporting information for --help arguments, About dialogs, etc */
  16. #define QEMU_HELP_BOTTOM \
  17. "See <https://qemu.org/contribute/report-a-bug> for how to report bugs.\n" \
  18. "More information on the QEMU project at <https://qemu.org>."
  19. /* main function, renamed */
  20. #if defined(CONFIG_COCOA)
  21. int qemu_main(int argc, char **argv, char **envp);
  22. #endif
  23. const char *qemu_get_vm_name(void);
  24. /* OS specific functions */
  25. void os_setup_early_signal_handling(void);
  26. int os_parse_cmd_args(int index, const char *optarg);
  27. void page_size_init(void);
  28. #endif