xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 18:15:14 +0000 (14:15 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 6 Apr 2012 21:03:01 +0000 (17:03 -0400)
commitcef4cca551d652b7f69c9d76337c5fae24e069dc
treeade7186b2ae588fce6c41a688a7fa6aadd5b4320
parent3f3aaea29ff7ee2d43b430338427f30ba7f60ff9
xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument

For identity cases we want to call reserve_brk only on the boundary
conditions of the middle P2M (so P2M[x][y][0] = extend_brk). This is
to work around identify regions (PCI spaces, gaps in E820) which are not
aligned on 2MB regions.

However for the case were we want to allocate P2M middle leafs at the
early bootup stage, irregardless of this alignment check we need some
means of doing that.  For that we provide the new argument.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c
This page took 0.028739 seconds and 5 git commands to generate.