Skip to content
Snippets Groups Projects
  1. Jan 20, 2013
    • 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
  2. 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
  3. Jan 09, 2013
  4. Jan 07, 2013
  5. Jan 06, 2013
  6. Dec 23, 2012
Loading