x86/mm: split out descriptor table manipulation code
authorWei Liu <wei.liu2@citrix.com>
Wed, 13 Sep 2017 16:54:22 +0000 (17:54 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 22 Sep 2017 15:31:50 +0000 (16:31 +0100)
commit67756788e3798abd050ae6df70da2cfb7af55a55
tree1d7ed6ea340a07d391f0aa48f0d40ab2b809979a
parente7a07839f13626c5eb1b8a2dbee8c5f57f84b090
x86/mm: split out descriptor table manipulation code

Move the code to pv/descriptor-tables.c. Change u64 to uint64_t while
moving. Use currd in do_update_descriptor.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm.c
xen/arch/x86/pv/Makefile
xen/arch/x86/pv/descriptor-tables.c [new file with mode: 0644]