[syslinux] SYSLINUX API call INT 22h/AX=0xC
Kevin Tran
ktran at broadcom.com
Wed Feb 12 22:51:01 PST 2014
Hi Peter,
I traced over these routines you suggested briefly and I didn't see where it invokes PXE UNDI_API (PXENV_UNDI_SHUTDOWN(0x5) to shut down the device. When this is invoked, my UNDI driver will put the device into an inactive state so that it doesn't do any more DMA read/write over PCIe bus anymore.
What am I missing?
Thanks!
Kevin
-----Original Message-----
From: H. Peter Anvin [mailto:hpa at zytor.com]
Sent: Wednesday, February 12, 2014 10:07 PM
To: Kevin Tran
Cc: For discussion of Syslinux and tftp-hpa
Subject: Re: [syslinux] SYSLINUX API call INT 22h/AX=0xC
On 02/12/2014 08:31 PM, Kevin Tran wrote:
> Hi Peter,
> They use PXELINUX to download the OS deployment bootstrap. When this is completed, they want to shutdown the stack including the UNDI driver before jumping to the kernel.
>
> Thanks!
> Kevin
>
That is better done by using syslinux_shuffle_boot_pm() or
syslinux_shuffle_boot_rm() as appropriate; they shut down the stack before calling the OS. The standard kernel image formats (bzImage, mboot, etc.) do this as well.
-hpa
More information about the Syslinux
mailing list