x86/boot: Simplify BSS zeroing
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 8 Jan 2020 13:11:13 +0000 (13:11 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 8 Jan 2020 18:48:00 +0000 (18:48 +0000)
commitc6c63b6dbffcdf32a59efa1fd6e578437fba06ff
treec56a5d9b8772ea364ef6aa8dd9c617f3d7ea0a1d
parent30e6fb5b90a1bb56c7985b8d1600fb9d8da9d34d
x86/boot: Simplify BSS zeroing

There is no need to load a non-flat %es to zero the BSS.  Use sym_esi()
instead, which is easier to follow, faster (avoids two segment loads) and
doesn't require use of the stack.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/head.S