Skip to content
Snippets Groups Projects
  1. Jan 24, 2013
  2. Jan 22, 2013
  3. Jan 20, 2013
    • Avi Kivity's avatar
      sched: make thread stack be controlled by the thread creator · 27b19497
      Avi Kivity authored
      Needed for pthread_attr_*() (and in general to make sure the stack is
      a regular vma as expected by the payload).
      27b19497
    • Avi Kivity's avatar
      mmu: don't map NULL · 629dc053
      Avi Kivity authored
      Keep the first 2MB unmapped for null pointer refernences.
      629dc053
    • Avi Kivity's avatar
      mmu: move physical memory map to ffff800000000000 · 3a24e7d5
      Avi Kivity authored
      This allows us to clear the area around the null pointer, and so trap errors.
      
      The switch is tricky wrt setting up memory, since we need the memory to
      be mapped in order to free it, but we need free memory to map (for the page
      tables).  What we do is set up a temporart 1:1 map at ffff800000000000
      that mirrors the first 1G map we already have from bootstreap, use that
      to free all of memory under 1G, then map and free everything else.
      3a24e7d5
  4. Jan 17, 2013
    • Avi Kivity's avatar
      mmu: move initial memory setup to mmu.cc · 77cd3b6b
      Avi Kivity authored
      Initial memory is physical; the mmu converts it to virtual addresses, and
      then it can be added to the memory pool.  Right now there is not much
      difference, but the 1:1 mapping is moving soon.
      77cd3b6b
  5. Jan 16, 2013
  6. Jan 15, 2013
  7. Jan 11, 2013
  8. Jan 10, 2013
  9. Jan 08, 2013
    • Avi Kivity's avatar
      stack_trampoline: align stack · d7ee49a9
      Avi Kivity authored
      The ABI requires that the stack be aligned to 16 bytes, so sse can be used.
      Make it so.  Fixes the jvm assembler faulting.
      d7ee49a9
  10. Jan 07, 2013
  11. Jan 06, 2013
  12. Jan 03, 2013
  13. Jan 02, 2013
  14. Jan 01, 2013
Loading