[ipxe-devel] [PATCH] [undi] Add stack segment logging

Ladi Prosek lprosek at redhat.com
Thu Jun 9 11:53:14 UTC 2016


On Thu, Jun 9, 2016 at 1:05 PM, Michael Brown <mcb30 at ipxe.org> wrote:
> On 09/06/16 11:46, Ladi Prosek wrote:
>>
>> The UNDI ROM ID structure declares the minimum required stack segment
>> size but the value is not used by iPXE.
>
>
> iPXE doesn't use any meaningful amount of real-mode stack space outside of
> its own data segment.  Without checking, I think we should be using less
> than 64 bytes before switching to our own stack.

Is it not possible that what we start with is already less than what
the NIC requires, though? I was surprised to see rm_sp pretty low on
my system - 2F10. What guarantees that this will be enough for any
UNDI ROM?

Thanks,
Ladi



More information about the ipxe-devel mailing list