1. 16 6月, 2014 2 次提交
  2. 08 2月, 2014 1 次提交
    • C
      disas: Implement disassembly output for A64 · 999b53ec
      Claudio Fontana 提交于
      Use libvixl to implement disassembly output in debug
      logs for A64, for use with both AArch64 hosts and targets.
      Signed-off-by: NClaudio Fontana <claudio.fontana@linaro.org>
      [PMM:
       * added support for target disassembly
       * switched to custom QEMUDisassembler so the output format
         matches what QEMU expects
       * make sure we correctly fall back to "just print hex"
         if we didn't build the AArch64 disassembler because of
         lack of a C++ compiler
       * rename from 'aarch64' to 'arm-a64' because this is a
         disassembler for the A64 instruction set
       * merge aarch64.c and aarch64-cxx.cc into one C++ file
       * simplify the aarch64.c<->aarch64-cxx.cc interface]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      999b53ec
  3. 24 8月, 2013 1 次提交
  4. 23 7月, 2013 1 次提交
  5. 27 4月, 2013 1 次提交
  6. 16 4月, 2013 1 次提交
  7. 23 3月, 2013 1 次提交
  8. 19 12月, 2012 2 次提交
  9. 10 11月, 2012 1 次提交
  10. 22 9月, 2012 1 次提交
  11. 14 7月, 2012 1 次提交
    • P
      disas: Fix printing of addresses in disassembly · 636bd289
      Peter Maydell 提交于
      In our disassembly code, the bfd_vma type is always 64 bits,
      even if the target's virtual address width is only 32 bits. This
      means that when we print out addresses we need to truncate them
      to 32 bits, to avoid odd output which has incorrectly sign-extended
      a value to 64 bits, for instance this ARM example:
          0x80479a60:  e59f4088     ldr  r4, [pc, #136]  ; 0xffffffff80479a4f
      
      (It would also be possible to truncate before passing the address
      to info->print_address_func(), but truncating in the final print
      function is the same approach that binutils takes to this problem.)
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      636bd289
  12. 14 5月, 2012 1 次提交
    • J
      fix some common typos · a31f0531
      Jim Meyering 提交于
      These were identified using: http://github.com/lyda/misspell-check
      and run like this to create a bourne shell script using GNU sed's
      -i option:
      
      git ls-files|grep -vF .bin | misspellings -f - |grep -v '^ERROR:' |perl \
      -pe 's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'
      
      Manually eliding the FP, "rela->real" and resolving "addres" to
      address (not "adders") we get this:
      
        sed -i '450s!thru!through!' Changelog
        sed -i '260s!neccessary!necessary!' coroutine-sigaltstack.c
        sed -i '54s!miniscule!minuscule!' disas.c
        sed -i '1094s!thru!through!' hw/usb/hcd-ehci.c
        sed -i '1095s!thru!through!' hw/usb/hcd-ehci.c
        sed -i '21s!unecessary!unnecessary!' qapi-schema-guest.json
        sed -i '307s!explictly!explicitly!' qemu-ga.c
        sed -i '490s!preceeding!preceding!' qga/commands-posix.c
        sed -i '792s!addres!address!' qga/commands-posix.c
        sed -i '6s!beeing!being!' tests/tcg/test-mmap.c
      
      Also, manually fix "arithmentic", spotted by Peter Maydell:
      
        sed -i 's!arithmentic!arithmetic!' coroutine-sigaltstack.c
      Signed-off-by: NJim Meyering <meyering@redhat.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      a31f0531
  13. 16 4月, 2012 1 次提交
  14. 07 4月, 2012 1 次提交
    • P
      Userspace ARM BE8 support · d8fd2954
      Paul Brook 提交于
      Add support for ARM BE8 userspace binaries.
      i.e. big-endian data and little-endian code.
      In principle LE8 mode is also possible, but AFAIK has never actually
      been implemented/used.
      
      System emulation doesn't have any useable big-endian board models,
      but should in principle work once you fix that.
      Dynamic endianness switching requires messing with data accesses,
      preferably with TCG cooperation, and is orthogonal to BE8 support.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      [PMM: various changes, mostly as per my suggestions in code review:
       * rebase
       * use EF_ defines rather than hardcoded constants
       * make bswap_code a bool for future VMSTATE macro compatibility
       * update comment in cpu.h about TB flags bit field usage
       * factor out load-code-and-swap into arm_ld*_code functions and
         get_user_code* macros
       * fix stray trailing space at end of line
       * added braces in disas.c to satisfy checkpatch
      ]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      d8fd2954
  15. 02 4月, 2012 1 次提交
  16. 15 3月, 2012 1 次提交
  17. 01 11月, 2011 1 次提交
  18. 25 8月, 2011 1 次提交
  19. 27 6月, 2011 1 次提交
  20. 01 6月, 2011 1 次提交
  21. 13 4月, 2011 1 次提交
  22. 04 4月, 2011 1 次提交
  23. 12 1月, 2011 1 次提交
  24. 11 1月, 2011 1 次提交
  25. 03 10月, 2010 1 次提交
  26. 02 4月, 2010 1 次提交
  27. 14 11月, 2009 1 次提交
  28. 28 7月, 2009 1 次提交
  29. 27 5月, 2009 1 次提交
  30. 08 5月, 2009 1 次提交
    • B
      Fix disassembler memory accesses · e612a1f7
      Blue Swirl 提交于
      Sparc disassembler wants to check previous addresses for some stuff
      and this may actually cause faults to be generated to the guest if the
      address is close to page start, because of the function used for the
      memory access.
      
      Fix by changing ldub_code to cpu_memory_rw_debug, which doesn't trigger
      exceptions.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      e612a1f7
  31. 22 4月, 2009 1 次提交
  32. 06 3月, 2009 1 次提交
    • A
      monitor: Rework API (Jan Kiszka) · 376253ec
      aliguori 提交于
      Refactor the monitor API and prepare it for decoupled terminals:
      term_print functions are renamed to monitor_* and all monitor services
      gain a new parameter (mon) that will once refer to the monitor instance
      the output is supposed to appear on. However, the argument remains
      unused for now. All monitor command callbacks are also extended by a mon
      parameter so that command handlers are able to pass an appropriate
      reference to monitor output services.
      
      For the case that monitor outputs so far happen without clearly
      identifiable context, the global variable cur_mon is introduced that
      shall once provide a pointer either to the current active monitor (while
      processing commands) or to the default one. On the mid or long term,
      those use case will be obsoleted so that this variable can be removed
      again.
      
      Due to the broad usage of the monitor interface, this patch mostly deals
      with converting users of the monitor API. A few of them are already
      extended to pass 'mon' from the command handler further down to internal
      functions that invoke monitor_printf.
      
      At this chance, monitor-related prototypes are moved from console.h to
      a new monitor.h. The same is done for the readline API.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
      376253ec
  33. 14 2月, 2009 1 次提交
  34. 15 1月, 2009 1 次提交
  35. 22 10月, 2008 2 次提交
  36. 18 8月, 2008 1 次提交
  37. 13 4月, 2008 1 次提交