[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/boot: Setup correctly fs segment for bogus_real_magic
commit 7d5781d526fb56f4858e9d9ac38e8867ab178a68 Author: Frediano Ziglio <frediano.ziglio@xxxxxxxxx> AuthorDate: Mon Nov 11 13:28:23 2024 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Mon Nov 11 15:25:39 2024 +0000 x86/boot: Setup correctly fs segment for bogus_real_magic bogus_real_magic code uses fs segment so it should be initialised. Fixes: d8c8fef09054 ("Provide basic Xen PM infrastructure") Signed-off-by: Frediano Ziglio <frediano.ziglio@xxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/boot/wakeup.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/boot/wakeup.S b/xen/arch/x86/boot/wakeup.S index c929fe9218..df5ea24457 100644 --- a/xen/arch/x86/boot/wakeup.S +++ b/xen/arch/x86/boot/wakeup.S @@ -77,8 +77,11 @@ check_vesaw: ret bogus_real_magic: + movw $0xb800, %ax + movw %ax, %fs +1: movw $0x0e00 + 'B', %fs:(0x12) - jmp bogus_real_magic + jmp 1b .align 4 real_magic: .long 0x12345678 -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |