2
0

memory_mapping-stub.c 615 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * QEMU memory mapping
  3. *
  4. * Copyright Fujitsu, Corp. 2011, 2012
  5. *
  6. * Authors:
  7. * Wen Congyang <wency@cn.fujitsu.com>
  8. *
  9. * This work is licensed under the terms of the GNU GPL, version 2 or later.
  10. * See the COPYING file in the top-level directory.
  11. *
  12. */
  13. #include "cpu.h"
  14. #include "cpu-all.h"
  15. #include "memory_mapping.h"
  16. int qemu_get_guest_memory_mapping(MemoryMappingList *list)
  17. {
  18. return -2;
  19. }
  20. int cpu_get_memory_mapping(MemoryMappingList *list,
  21. CPUArchState *env)
  22. {
  23. return -1;
  24. }
  25. bool cpu_paging_enabled(CPUArchState *env)
  26. {
  27. return true;
  28. }