1. 04 Feb, 2016 1 commit
    • Peter Maydell's avatar
      all: Clean up includes · d38ea87a
      Peter Maydell authored
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      This commit was created with scripts/clean-includes.
      Signed-off-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org
  2. 22 Oct, 2015 8 commits
  3. 25 Sep, 2015 1 commit
  4. 14 Aug, 2015 1 commit
  5. 09 Jul, 2015 5 commits
  6. 22 Jun, 2015 1 commit
    • Peter Crosthwaite's avatar
      disas: Remove uses of CPU env · d49190c4
      Peter Crosthwaite authored
      disas does not need to access the CPU env for any reason. Change the
      APIs to accept CPU pointers instead. Small change pattern needs to be
      applied to all target translate.c. This brings us closer to making
      disas.o a common-obj and less architecture specific in general.
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Michael Walle <michael@walle.cc>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Leon Alrae <leon.alrae@imgtec.com>
      Cc: Jia Liu <proljc@gmail.com>
      Cc: Alexander Graf <agraf@suse.de>
      Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Reviewed-by: 's avatarRichard Henderson <rth@twiddle.net>
      Reviewed-by: 's avatarEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: 's avatarPeter Crosthwaite <crosthwaite.peter@gmail.com>
      Acked-by: 's avatarLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: 's avatarMarkus Armbruster <armbru@redhat.com>
  7. 16 Jun, 2014 2 commits
  8. 08 Feb, 2014 1 commit
    • Claudio Fontana's avatar
      disas: Implement disassembly output for A64 · 999b53ec
      Claudio Fontana authored
      Use libvixl to implement disassembly output in debug
      logs for A64, for use with both AArch64 hosts and targets.
      Signed-off-by: 's avatarClaudio Fontana <claudio.fontana@linaro.org>
       * 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: 's avatarPeter Maydell <peter.maydell@linaro.org>
  9. 24 Aug, 2013 1 commit
  10. 23 Jul, 2013 1 commit
  11. 26 Apr, 2013 1 commit
  12. 15 Apr, 2013 1 commit
  13. 23 Mar, 2013 1 commit
  14. 19 Dec, 2012 2 commits
  15. 10 Nov, 2012 1 commit
  16. 21 Sep, 2012 1 commit
  17. 14 Jul, 2012 1 commit
    • Peter Maydell's avatar
      disas: Fix printing of addresses in disassembly · 636bd289
      Peter Maydell authored
      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: 's avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: 's avatarAndreas Färber <afaerber@suse.de>
      Signed-off-by: 's avatarBlue Swirl <blauwirbel@gmail.com>
  18. 14 May, 2012 1 commit
    • Jim Meyering's avatar
      fix some common typos · a31f0531
      Jim Meyering authored
      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: 's avatarJim Meyering <meyering@redhat.com>
      Reviewed-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
  19. 15 Apr, 2012 1 commit
  20. 06 Apr, 2012 1 commit
    • Paul Brook's avatar
      Userspace ARM BE8 support · d8fd2954
      Paul Brook authored
      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: 's avatarPaul 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: 's avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: 's avatarRiku Voipio <riku.voipio@linaro.org>
  21. 01 Apr, 2012 1 commit
  22. 14 Mar, 2012 1 commit
    • Andreas Färber's avatar
      Rename CPUState -> CPUArchState · 9349b4f9
      Andreas Färber authored
      Scripted conversion:
        for file in *.[hc] hw/*.[hc] hw/kvm/*.[hc] linux-user/*.[hc] linux-user/m68k/*.[hc] bsd-user/*.[hc] darwin-user/*.[hc] tcg/*/*.[hc] target-*/cpu.h; do
          sed -i "s/CPUState/CPUArchState/g" $file
      All occurrences of CPUArchState are expected to be replaced by QOM CPUState,
      once all targets are QOM'ified and common fields have been extracted.
      Signed-off-by: 's avatarAndreas Färber <afaerber@suse.de>
      Reviewed-by: 's avatarAnthony Liguori <aliguori@us.ibm.com>
  23. 31 Oct, 2011 1 commit
  24. 25 Aug, 2011 1 commit
  25. 26 Jun, 2011 1 commit
  26. 31 May, 2011 1 commit
  27. 12 Apr, 2011 1 commit