1. 11 12月, 2010 3 次提交
    • A
      Make simple io mem handler endian aware · 6bef0436
      Alexander Graf 提交于
      As an alternative to the 3 individual handlers, there is also a simplified
      io mem hook function. To be consistent, let's add an endianness parameter
      there too.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      6bef0436
    • A
      Add endianness as io mem parameter · 2507c12a
      Alexander Graf 提交于
      As stated before, devices can be little, big or native endian. The
      target endianness is not of their concern, so we need to push things
      down a level.
      
      This patch adds a parameter to cpu_register_io_memory that allows a
      device to choose its endianness. For now, all devices simply choose
      native endian, because that's the same behavior as before.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2507c12a
    • A
      exec: introduce endianness swapped mmio · dd310534
      Alexander Graf 提交于
      The way we're currently modeling mmio is too simplified. We assume that
      every device has the same endianness as the target CPU. In reality,
      most devices are little endian (all PCI and ISA ones I'm aware of). Some
      are big endian (special system devices) and a very little fraction is
      target native endian (fw_cfg).
      
      So instead of assuming every device to be native endianness, let's move
      to a model where the device tells us which endianness it's in.
      
      That way we can compile the devices only once and get rid of all the ugly
      swap will be done by the underlying layer.
      
      For the same of readability, this patch only introduces the helper framework
      but doesn't allow the registering code to set its endianness yet.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      dd310534
  2. 10 12月, 2010 1 次提交
  3. 09 12月, 2010 1 次提交
  4. 05 12月, 2010 7 次提交
  5. 04 12月, 2010 2 次提交
    • E
      Merge branch 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu · bcd47878
      Edgar E. Iglesias 提交于
      * 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu:
        linux-user: fix mips and ppc to use UID16
        update binfmt conf
        linux-user: fix compiler error on nptl
        ARM: linux-user: Restore iWMMXT state from ucontext on sigreturn
        ARM: linux-user: Expose iWMMXT registers to signal handlers
        ARM: linux-user: Restore VFP state from ucontext on sigreturn
        ARM: linux-user: Expose VFP registers to signal handlers
        ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code
        ARM: linux-user: Correct size of padding in target_ucontext_v2
        target-sparc: remove unused functions cpu_lock(), cpu_unlock()
        ARM: enable XScale/iWMMXT in linux-user mode
        linux-user: Translate getsockopt level option
        linux-user: remove unnecessary local from __get_user(), __put_user()
        linux-user: fix memory leaks with NPTL emulation
        linux-user: mmap_reserve() not controlled by RESERVED_VA
        [PATCH] target-arm: remove unused functions cpu_lock(), cpu_unlock()
      bcd47878
    • S
      exec: Remove debugging fprintf() that slipped into qemu_ram_alloc_from_ptr() · db1923de
      Stefan Hajnoczi 提交于
      Remove the debugging fprintf() slipped in via the following commit:
      
          commit b2e0a138
          Author: Michael S. Tsirkin <mst@redhat.com>
          Date:   Mon Nov 22 19:52:34 2010 +0200
      
              migration: stable ram block ordering
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      db1923de
  6. 03 12月, 2010 21 次提交
  7. 02 12月, 2010 5 次提交