xen/arm: add lower-bound check in mfn_valid
authorJaeyong Yoo <jaeyong.yoo@samsung.com>
Fri, 23 Aug 2013 09:08:41 +0000 (18:08 +0900)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 27 Aug 2013 13:27:26 +0000 (14:27 +0100)
commitceb93c72d2046bffecd57fcbebd04aa0801414a2
treec166967c8513736f69beaf82cb9ee4710f15a0fe
parent604ab14cde7aef3bcdd7bc3bc398e7d1705dc631
xen/arm: add lower-bound check in mfn_valid

mfn_valid only checks the upper-bound of mfn (max_page).
Add the lower-bound check of mfn (frametable_base_mfn).

Signed-off-by: Jaeyong Yoo <jaeyong.yoo@samsung.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/include/asm-arm/mm.h