comboot: remove comapi_chainboot syslinux-4.06-pre14
authorSebastian Herbszt <herbszt@gmx.de>
Sun, 14 Oct 2012 13:38:58 +0000 (15:38 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 15 Oct 2012 07:57:25 +0000 (08:57 +0100)
comapi_chainboot was obsoleted in 3.80.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/comboot.inc
doc/comboot.txt

index d6f670c..61c8a3b 100644 (file)
@@ -651,21 +651,8 @@ comapi_cleanup:
                ret
 
 ;
-; INT 22h AX=000Dh     Clean up then replace bootstrap
+; INT 22h AX=000Dh     Obsolete
 ;
-comapi_chainboot:
-               call comapi_cleanup
-               mov eax,P_EDI
-               mov [trackbuf+4],eax            ; Copy from
-               mov eax,P_ECX
-               mov [trackbuf+8],eax            ; Total bytes
-               mov eax,7C00h
-               mov [trackbuf],eax              ; Copy to
-               push eax                        ; Entry point on stack
-               mov esi,P_ESI
-               mov edx,P_EBX
-               mov bx,P_DS
-               jmp replace_bootstrap_one
 
 ;
 ; INT 22h AX=000Eh     Get configuration file name
index 5cbbc11..6e9d7ab 100644 (file)
@@ -560,29 +560,7 @@ AX=000Ch [2.00]    Perform final cleanup
        meanings in future versions of Syslinux.
 
 
-AX=000Dh [2.08]        Cleanup and replace bootstrap code
-       Input:  AX      000Dh
-               DX      derivative-specific flags (see previous function)
-               EDI     bootstrap code (linear address, can be in high memory)
-               ECX     bootstrap code length in bytes (must fit in low mem)
-               EBX(!)  initial value of EDX after bootstrap
-               ESI     initial value of ESI after bootstrap
-               DS      initial value of DS after bootstrap
-       Output: Does not return
-
-       This routine performs final cleanup, then takes a piece of
-       code, copies it over the primary bootstrap at address 7C00h,
-       and jumps to it.  This can be used to chainload boot sectors,
-       MBRs, bootstraps, etc.
-
-       Normal boot sectors expect DL to contain the drive number,
-       and, for hard drives (DL >= 80h) DS:SI to contain a pointer to
-       the 16-byte partition table entry.  The memory between
-       600h-7FFh is available to put the partition table entry in.
-
-       For PXELINUX, if the PXE stack is not unloaded, all registers
-       (except DS, ESI and EDX) and the stack will be set up as they
-       were set up by the PXE ROM.
+AX=000Dh [2.08]        Obsoleted in 3.80
 
 
 AX=000Eh [2.11]        Get configuration file name