From adeae7c9c7079aacb6b36467b81c22eb8b17f002 Mon Sep 17 00:00:00 2001 From: Sebastian Herbszt Date: Sun, 14 Oct 2012 15:38:58 +0200 Subject: comboot: remove comapi_chainboot comapi_chainboot was obsoleted in 3.80. Signed-off-by: Sebastian Herbszt Signed-off-by: Matt Fleming --- core/comboot.inc | 15 +-------------- doc/comboot.txt | 24 +----------------------- 2 files changed, 2 insertions(+), 37 deletions(-) diff --git a/core/comboot.inc b/core/comboot.inc index d6f670c9..61c8a3b7 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 5cbbc114..6e9d7ab5 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 -- cgit v1.2.1