mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
[pxe] Fill in UNDIROMID pointer in !PXE structure
IBM's iSCSI Firmware Initiator checks the UNDIROMID pointer in the !PXE structure that gets created by the UNDI loader. We didn't previously fill this value in.
This commit is contained in:
@@ -347,6 +347,9 @@ __cdecl void pxe_loader_call ( struct i386_all_regs *ix86 ) {
|
||||
/* Copy parameter block from caller */
|
||||
copy_from_user ( ¶ms, uparams, 0, sizeof ( params ) );
|
||||
|
||||
/* Fill in ROM segment address */
|
||||
ppxe.UNDIROMID.segment = ix86->segs.ds;
|
||||
|
||||
/* Set default status in case child routine fails to do so */
|
||||
params.Status = PXENV_STATUS_FAILURE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user