[pxe] Separate parent PXE API caller from UNDINET driver

Calling the parent PXE stack (the stack that loaded us, for
undionly.kkpxe) can be useful for more than UNDI calls; for instance,
it lets us get cached DHCP packets to avoid re-DHCP when working with
embedded images.

Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
Joshua Oreman
2009-12-08 03:38:50 -05:00
committed by Marty Connor
parent 2d58a62330
commit 337e1ed4b4
6 changed files with 263 additions and 216 deletions

View File

@@ -31,7 +31,7 @@ undiisr:
movw %ax, %ds
/* Check that we have an UNDI entry point */
cmpw $0, undinet_entry_point
cmpw $0, pxeparent_entry_point
je chain
/* Issue UNDI API call */
@@ -42,7 +42,7 @@ undiisr:
pushw %es
pushw %di
pushw %bx
lcall *undinet_entry_point
lcall *pxeparent_entry_point
cli /* Just in case */
addw $6, %sp
cmpw $PXENV_UNDI_ISR_OUT_OURS, funcflag