1. 19 12月, 2011 1 次提交
  2. 16 12月, 2011 1 次提交
  3. 15 12月, 2011 2 次提交
  4. 11 12月, 2011 1 次提交
  5. 01 11月, 2011 2 次提交
  6. 26 10月, 2011 1 次提交
  7. 22 10月, 2011 1 次提交
  8. 01 10月, 2011 1 次提交
  9. 21 9月, 2011 1 次提交
  10. 21 8月, 2011 1 次提交
  11. 12 8月, 2011 1 次提交
  12. 08 8月, 2011 1 次提交
  13. 07 8月, 2011 1 次提交
  14. 05 8月, 2011 2 次提交
    • J
      Avoid allocating TCG resources in non-TCG mode · d5ab9713
      Jan Kiszka 提交于
      Do not allocate TCG-only resources like the translation buffer when
      running over KVM or XEN. Saves a "few" bytes in the qemu address space
      and is also conceptually cleaner.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d5ab9713
    • A
      memory: use signed arithmetic · 8417cebf
      Avi Kivity 提交于
      When trying to map an alias of a ram region, where the alias starts at
      address A and we map it into address B, and A > B, we had an arithmetic
      underflow.  Because we use unsigned arithmetic, the underflow converted
      into a large number which failed addrrange_intersects() tests.
      
      The concrete example which triggered this was cirrus vga mapping
      the framebuffer at offsets 0xc0000-0xc7fff (relative to the start of
      the framebuffer) into offsets 0xa0000 (relative to system addres space
      start).
      
      With our favorite analogy of a windowing system, this is equivalent to
      dragging a subwindow off the left edge of the screen, and failing to clip
      it into its parent window which is on screen.
      
      Fix by switching to signed arithmetic.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8417cebf
  15. 29 7月, 2011 1 次提交
  16. 26 7月, 2011 2 次提交
  17. 21 7月, 2011 1 次提交
  18. 17 7月, 2011 3 次提交
  19. 13 7月, 2011 2 次提交
    • P
      exec.c: Fix calculation of code_gen_buffer_max_size · a884da8a
      Peter Maydell 提交于
      When calculating the point at which we should not try to put another
      TB into the code gen buffer, we have to allow not just for OPC_MAX_SIZE
      but OPC_BUF_SIZE. This is because the target translate.c will only
      stop when an instruction has put it past the OPC_MAX_SIZE limit, so
      we have to include the MAX_OP_PER_INSTR margin which that final insn
      might have used.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      a884da8a
    • A
      exec: add endian specific phys ld/st functions · 1e78bcc1
      Alexander Graf 提交于
      Device code some times needs to access physical memory and does that
      through the ld./st._phys functions. However, these are the exact same
      functions that the CPU uses to access memory, which means they will
      be endianness swapped depending on the target CPU.
      
      However, devices don't know about the CPU's endianness, but instead
      access memory directly using their own interface to the memory bus,
      so they need some way to read data with their native endianness.
      
      This patch adds _le and _be functions to ld./st._phys.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      1e78bcc1
  20. 27 6月, 2011 1 次提交
  21. 24 6月, 2011 1 次提交
  22. 19 6月, 2011 4 次提交
  23. 12 6月, 2011 1 次提交
  24. 08 6月, 2011 1 次提交
  25. 04 6月, 2011 1 次提交
  26. 01 6月, 2011 1 次提交
  27. 23 5月, 2011 1 次提交
  28. 20 5月, 2011 2 次提交
  29. 08 5月, 2011 1 次提交