x86/wakeup: Stop using %fs for lidt/lgdt
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 28 Apr 2019 14:13:37 +0000 (17:13 +0300)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 13 May 2019 09:35:37 +0000 (10:35 +0100)
commitc1740dc20ae5ea74d9dfc101cb9d2c2ed437f8a6
treef80120c5833884c13171bfdba1e40a9d73d65271
parent7c169a700a2863d290c39cd0047f8b908d6ef333
x86/wakeup: Stop using %fs for lidt/lgdt

The wakeup code is now relocated alongside the trampoline code, so
as long as we move idt_48 and gdt_48 up a little bit so that they're
visible in the real-mode segment that the wakeup code runs in, using
%ds is just fine here.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/trampoline.S
xen/arch/x86/boot/wakeup.S