From ca6080f290d2e83715884b60d1233cd5b4e68ca0 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Tue, 4 Mar 2025 15:28:11 +0100 Subject: [PATCH] x86/boot: clarify comment about trampoline_setup usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Clarify that trampoline_setup is only used for EFI when booted using the multiboot2 entry point. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper --- xen/arch/x86/boot/head.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S index 1b3bd16fe5..81473578fe 100644 --- a/xen/arch/x86/boot/head.S +++ b/xen/arch/x86/boot/head.S @@ -504,9 +504,7 @@ trampoline_bios_setup: mov %ecx,sym_esi(trampoline_phys) trampoline_setup: - /* - * Called on legacy BIOS and EFI platforms. - */ + /* Called for Mutiboot entry, including MB2+EFI. */ /* Save Xen image load base address for later use. */ mov %esi, sym_esi(xen_phys_start) -- 2.39.5