x86/shim: only mark special pages as RAM in pvshim mode
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 8 Jan 2019 09:03:45 +0000 (10:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 8 Jan 2019 09:03:45 +0000 (10:03 +0100)
commit2de4a8b263817448beeb9e71a94d7c0f8d53e3c0
tree0022c14069b845f051fcd7d53a8ef3dd255a3afa
parenta5b0eb363694e7e15405f0b3fc5fb6fab79df1db
x86/shim: only mark special pages as RAM in pvshim mode

When running Xen as a guest it's not necessary to mark such pages as
RAM because they won't be assigned to the initial domain memory map.

While there move the functions to the PV shim specific file and rename
them accordingly.

No functional change expected.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/e820.c
xen/arch/x86/guest/xen.c
xen/arch/x86/pv/shim.c
xen/common/page_alloc.c
xen/include/asm-x86/guest/xen.h
xen/include/asm-x86/pv/shim.h