commit | 940713bb2ce3033f468a220094a07250a2f69bdd | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Mar 30 14:33:14 2012 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Apr 06 17:03:06 2012 -0400 |
tree | 2bdf0c6eb1a2d530737918544423d56fb0ea4dd8 | |
parent | d5096850b47424fb0f1c6a75b8f7184f7169319a [diff] |
xen/p2m: An early bootup variant of set_phys_to_machine During early bootup we can't use alloc_page, so to allocate leaf pages in the P2M we need to use extend_brk. For that we are utilizing the early_alloc_p2m and early_alloc_p2m_middle functions to do the job for us. This function follows the same logic as set_phys_to_machine. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>