]> git.proxmox.com Git - grub2.git/blobdiff - grub-core/kern/i386/pc/startup.S
Move grub_chainloader_real_boot out of the kernel.
[grub2.git] / grub-core / kern / i386 / pc / startup.S
index 5277695b18e2a420b4cc4256f61423ff6008219b..df899227804a8bc295dd06be779add0f819b3683 100644 (file)
@@ -464,31 +464,6 @@ FUNCTION(grub_exit)
        ljmp    $0xf000, $0xfff0
        .code32
 
-/*
- *  void grub_chainloader_real_boot (int drive, void *part_addr)
- *
- *  This starts another boot loader.
- */
-
-FUNCTION(grub_chainloader_real_boot)
-       pushl   %edx
-       pushl   %eax
-
-       /* Turn off Gate A20 */
-       xorl    %eax, %eax
-       call    grub_gate_a20
-
-       /* set up to pass boot drive */
-       popl    %edx
-
-       /* ESI must point to a partition table entry */
-       popl    %esi
-
-       call    prot_to_real
-       .code16
-       ljmp    $0, $GRUB_MEMORY_MACHINE_BOOT_LOADER_ADDR
-       .code32
-
 /*
  * void grub_console_putchar (int c)
  *