On 11.03.2025 22:10, Andrew Cooper wrote:
> The data segment registers are part of the on-stack IRET frame when
> interrupting Virtual 8086 mode, but this ceased being relevant for Xen in
> commit 5d1181a5ea5e ("xen: Remove x86_32 build target.") in 2012.
> 
> With all other cleanup in place, delete the fields so we can introduce FRED
> support which uses this space for different data.
> 
> Everywhere which used the es field as an offset in cpu_user_regs needs
> adjusting.  However, they'll change again for FRED, so no cleanup is performed
> at this juncture.
> 
> This also undoes the OoB Read workaround in show_registers(), which can now
> switch back to being simple structure copy.
> 
> No functional change, but a lot of rearranging of stack and struct layout
> under the hood.
> 
> Signed-off-by: Andrew Cooper <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>



Reply via email to