1. 23 8月, 2010 2 次提交
  2. 11 8月, 2010 1 次提交
  3. 22 7月, 2010 1 次提交
  4. 08 7月, 2010 1 次提交
  5. 06 7月, 2010 6 次提交
  6. 01 7月, 2010 1 次提交
  7. 15 6月, 2010 1 次提交
  8. 11 6月, 2010 1 次提交
  9. 09 6月, 2010 1 次提交
  10. 22 5月, 2010 1 次提交
  11. 12 5月, 2010 1 次提交
  12. 08 5月, 2010 1 次提交
  13. 06 5月, 2010 2 次提交
  14. 05 5月, 2010 1 次提交
    • P
      Remove PAGE_RESERVED · 2e9a5713
      Paul Brook 提交于
      The usermode PAGE_RESERVED code is not required by the current mmap
      implementation, and is already broken when guest_base != 0.
      Unfortunately the bsd emulation still uses the old mmap implementation,
      so we can't rip it out altogether.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      2e9a5713
  15. 25 4月, 2010 1 次提交
  16. 12 4月, 2010 1 次提交
  17. 10 4月, 2010 2 次提交
  18. 08 4月, 2010 1 次提交
  19. 05 4月, 2010 1 次提交
    • P
      Split TLB addend and target_phys_addr_t · 355b1943
      Paul Brook 提交于
      Historically the qemu tlb "addend" field was used for both RAM and IO accesses,
      so needed to be able to hold both host addresses (unsigned long) and guest
      physical addresses (target_phys_addr_t).  However since the introduction of
      the iotlb field it has only been used for RAM accesses.
      
      This means we can change the type of addend to unsigned long, and remove
      associated hacks in the big-endian TCG backends.
      
      We can also remove the host dependence from target_phys_addr_t.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      355b1943
  20. 02 4月, 2010 2 次提交
  21. 31 3月, 2010 1 次提交
    • J
      Get bsd-user host page protection code working on FreeBSD hosts · f01576f1
      Juergen Lock 提交于
      Use kinfo_getvmmap(3) on FeeBSD >= 7.x and /compat/linux/proc on older
      FreeBSD.  (kinfo_getvmmap is preferred since /compat/linux/proc is
      usually only mounted on hosts also using the Linuxolator.)
      
      This patch is a bit hacky because the includes needed for kinfo_getvmmap
      conflict with other definitions in exec.c by default so I had to `trick
      around' a little, but I built the result in FreeBSD 6.4-stable and
      7.2-stable tbs and on 8-stable on the host so the hacks at least
      should be stable.  (If this is a problem maybe we could also move the
      kinfo_getvmmap invocations into a seperate source file but that would
      be more work...)
      Signed-off-by: NJuergen Lock <nox@jelal.kn-bremen.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      f01576f1
  22. 30 3月, 2010 1 次提交
  23. 29 3月, 2010 1 次提交
  24. 27 3月, 2010 1 次提交
  25. 17 3月, 2010 1 次提交
    • P
      Large page TLB flush · d4c430a8
      Paul Brook 提交于
      QEMU uses a fixed page size for the CPU TLB.  If the guest uses large
      pages then we effectively split these into multiple smaller pages, and
      populate the corresponding TLB entries on demand.
      
      When the guest invalidates the TLB by virtual address we must invalidate
      all entries covered by the large page.  However the address used to
      invalidate the entry may not be present in the QEMU TLB, so we do not
      know which regions to clear.
      
      Implementing a full vaiable size TLB is hard and slow, so just keep a
      simple address/mask pair to record which addresses may have been mapped by
      large pages.  If the guest invalidates this region then flush the
      whole TLB.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      d4c430a8
  26. 14 3月, 2010 1 次提交
  27. 13 3月, 2010 5 次提交