[undi] Allocate base memory before calling UNDI loader entry point
authorMichael Brown <mcb30@ipxe.org>
Mon, 5 Dec 2016 08:50:03 +0000 (08:50 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 5 Dec 2016 08:53:44 +0000 (08:53 +0000)
commit8138ea190d8f281a9bd3cbfff2b83daee3478987
treee4962d285bf2bb66df84eca3f3964ada4aa97b2b
parentfd95c780b6ad39ab55344c0e4b9c2125c2c2f5ad
[undi] Allocate base memory before calling UNDI loader entry point

Allocate base memory (by decreasing the free base memory counter)
before calling the UNDI loader entry point, to minimise surprises for
the UNDI loader code.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/drivers/net/undiload.c