xen: support RAM at addresses 0 and 4096
authorIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 11:35:42 +0000 (12:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 15:21:53 +0000 (16:21 +0100)
commit1aac966e24e92d664089cfa075f21bbb570a7d58
tree4a5ef8a8fef3827f3b7a5aeef2c28df795848318
parent41208de9b1f52a1d865649ed3d4ba0cfe74f9f9f
xen: support RAM at addresses 0 and 4096

Currently the mapping from pages to zones causes the page at zero to go into
zone -1 and the page at 4096 to go into zone 0, which is the Xen zone
(confusing various assertions).

Arrange instead for the mapping to be such that zone 0 is always reserved for
Xen and all other pages map to a zone >= 1.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Cc: jbeulich@suse.com
Acked-by: Tim Deegan <tim@xen.org>
xen/common/page_alloc.c