]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
x86/boot: clarify comment about trampoline_setup usage
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 4 Mar 2025 14:28:11 +0000 (15:28 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Thu, 20 Mar 2025 11:28:30 +0000 (12:28 +0100)
Clarify that trampoline_setup is only used for EFI when booted using the
multiboot2 entry point.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/head.S

index 1b3bd16fe575ea94a2b725df7e18ab31ab835863..81473578fe84d50a8b3e3e5f62c2440ee28d931a 100644 (file)
@@ -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)