Sebastian Herbszt
2012-Sep-11 21:17 UTC
[syslinux] [PATCH] comboot: remove comapi_chainboot
comapi_chainboot was obsoleted in 3.80. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> --- core/comboot.inc | 17 ++--------------- doc/comboot.txt | 24 +----------------------- 2 files changed, 3 insertions(+), 38 deletions(-) diff --git a/core/comboot.inc b/core/comboot.inc index d6f670c..61c8a3b 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -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 diff --git a/doc/comboot.txt b/doc/comboot.txt index 5cbbc11..6e9d7ab 100644 --- a/doc/comboot.txt +++ b/doc/comboot.txt @@ -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 -- 1.7.3.4