Skip to content
Snippets Groups Projects
  1. Mar 31, 2013
  2. Mar 28, 2013
  3. Mar 27, 2013
  4. Mar 25, 2013
  5. Mar 24, 2013
    • Avi Kivity's avatar
      tests: fix fpu test for testrunner.so · 0c25c95f
      Avi Kivity authored
      The fpu test was written to be run standalone, but that doesn't work
      running from testrunner.so since the entry points are different (main vs.
      osv_main).
      0c25c95f
  6. Mar 22, 2013
  7. Mar 21, 2013
  8. Mar 20, 2013
    • Nadav Har'El's avatar
      Less repetitive mmap/unmap/mprotect code · 6f121c15
      Nadav Har'El authored
      Rewriten the mmap/unmap/mprotect to be much less repetitive.
      There is a new "page_range_operation" class, from which the classes
      "populate", "unpopulate", and "protect" classes derive to implement
      mmap, munmap and mprotect respectively. The code is now much shorter,
      less repetitive, clearer (I hope), and also better conforming to the
      new coding conventions.
      
      Note that linear_map is still separate, and page_range_operation keeps
      its old algorithm (of starting at the root again for each page). Now
      that we have this clean OO structure, it will be easier to change
      this algorithm to be similar to linear_map's.
      6f121c15
  9. Mar 19, 2013
    • Nadav Har'El's avatar
      Implement mprotect(PROT_NONE) · d1e83a59
      Nadav Har'El authored
      Java uses mprotect(..., PROT_NONE) for guard pages (e.g., to catch stack
      overflow). This patch implements it by removing the present bit on these
      pages' mappings, which does not mean the pages have been unmapped (their
      memory is kept intact, and running mprotect again can make them readable
      again.
      d1e83a59
Loading