- Jan 31, 2013
-
-
Avi Kivity authored
-
- Jan 29, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
Simpler than phys_cast sometimes.
-
- Jan 28, 2013
-
-
Avi Kivity authored
-
- Jan 20, 2013
-
-
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.
-
- Jan 17, 2013
-
-
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.
-
- Jan 15, 2013
-
-
Avi Kivity authored
mmap() did not consider that a large page may be used to map an area that it is overwriting. This can happen if the primordial 1:1 area is remapped (as when the payload is creating some guard pages). The result is that random memory is overwritten with a pte. Fix by detecting large pages and splitting them up.
-
- Jan 09, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
Reserves a vma range for later use. Can be useful to implement mmap() hints with a two-step algorithm - reserve a range, then overwrite it with the real mmap.
-
Avi Kivity authored
This is simpler than [addr, addr+size) for splitting and merging.
-
- Jan 07, 2013
-
-
Avi Kivity authored
When loading a small library (libverify.so) this happens. Since it's legal, allow it.
-
- Jan 06, 2013
-
-
Avi Kivity authored
This fixes vm initialization failing after system_reset because vm_created was left set to 1.
-
Avi Kivity authored
-
- Dec 28, 2012
-
-
Avi Kivity authored
This allows generic code to include arch specific code, by eliding the arch/x64/ prefix.
-
Avi Kivity authored
We will never build a single program containing code from two architectures, so segregating arch-specific code into a separate namespace is not solving any problem. However it makes using arch-specific code from generic code impossible. Remove the 86 namespace to fix this.
-
- Dec 27, 2012
-
-
Dor Laor authored
-
- Dec 26, 2012
-
-
Avi Kivity authored
much more efficient.
-
- Dec 23, 2012
-
-
Avi Kivity authored
Should we warn instead?
-
Avi Kivity authored
These sections have memsz > filesz. This means we need separate map_file() and file_anon() with caller-specified addresses.
-
Avi Kivity authored
-
Avi Kivity authored
-