Re: [Xen-devel] [PATCH v2] xen/x86: Zero out .bss for PV guests

From: Boris Ostrovsky
Date: Wed Feb 24 2016 - 12:48:25 EST


On 02/24/2016 12:26 PM, Andrew Cooper wrote:
On 24/02/16 15:19, Boris Ostrovsky wrote:
+ /* Clear .bss */
+ xor REG(ax),REG(ax)
If we are nitpicking,

This should be xor %eax, %eax even in 64bit. Functionally identical,
and shorter to encode.

Right, Brian Gerst pointed this out too in another message.

-boris