1. 01 May, 2012 2 commits
  2. 15 Apr, 2012 3 commits
  3. 14 Apr, 2012 2 commits
  4. 07 Apr, 2012 1 commit
    • Stefan Weil's avatar
      w64: Fix data type of tb_next and other variables used for host addresses · 6375e09e
      Stefan Weil authored
      QEMU host addresses must use uintptr_t to be portable for hosts with
      an unusual size of long (w64).
      
      tb_jmp_offset is an uint16_t value, therefore the local variable offset
      in function tb_set_jmp_target was changed from unsigned long to uint16_t.
      
      The type cast to long in function tb_add_jump now also uses uintptr_t.
      For the bit operation used here, the signedness of the type cast does
      not matter.
      
      Some remaining unsigned long values are either only used for ARM assembler
      code or will be fixed in a later patch for PPC.
      
      v2:
      Fix signature of tb_find_pc in exec.c, too (hint from Blue Swirl, thanks).
      There remain lots of other long / unsigned long in exec.c which must be
      replaced by uintptr_t. This will be done in a separate patch. Here
      only one of these type casts is fixed.
      
      v3:
      Also fix signature of page_unprotect.
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      6375e09e
  5. 24 Mar, 2012 1 commit
  6. 19 Mar, 2012 3 commits
  7. 18 Mar, 2012 1 commit
  8. 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
        done
      
      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: default avatarAndreas Färber <afaerber@suse.de>
      Reviewed-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      9349b4f9
  9. 08 Mar, 2012 5 commits
  10. 05 Mar, 2012 1 commit
    • Avi Kivity's avatar
      memory: fix I/O port aliases · a2d33521
      Avi Kivity authored
      Commit e58ac72b6a0 ("ioport: change portio_list not to use
      memory_region_set_offset()") started using aliases of I/O memory
      regions.  Since the IORange used for the I/O was contained in the
      target region, the alias information (specifically, the offset
      into the region) was lost.  This broke -vga std.
      
      Fix by allocating an independent object to hold the IORange and
      also the new offset.
      
      Note that I/O memory regions were conceptually broken wrt aliases
      in a different way: an alias can cause the same region to appear
      twice in an address space, but we had just one IORange to service it.
      This patch fixes that problem as well, since we can now have multiple
      IORange/MemoryRegion associations.
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      a2d33521
  11. 29 Feb, 2012 20 commits