On 11.11.2024 12:18, Frediano Ziglio wrote:
> --- a/xen/arch/x86/boot/wakeup.S
> +++ b/xen/arch/x86/boot/wakeup.S
> @@ -20,6 +20,8 @@ ENTRY(wakeup_start)
> movw %ax, %ds
> movw %ax, %ss # A stack required for BIOS call
> movw $wakesym(wakeup_stack), %sp
> + movw $0xb800, %ax
> + movw %ax, %fs
>
> pushl $0 # Kill dangerous flag early
> popfl
If put here, I think it needs to be accompanied by a comment, to avoid
it (wrongly) being deemed redundant again. Personally I would prefer if
it was put where it's needed, at bogus_real_magic itself (at which
point no commentary would be needed).
Jan