mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 07:20:47 +03:00
Populate preloaded_undi device when applicable.
This commit is contained in:
@@ -691,6 +691,15 @@ run_etherboot:
|
|||||||
/* Install Etherboot */
|
/* Install Etherboot */
|
||||||
call install
|
call install
|
||||||
|
|
||||||
|
#ifdef PXELOADER_KEEP_UNDI
|
||||||
|
/* Copy our undi_device structure to the preloaded_undi variable */
|
||||||
|
movw %bx, %es
|
||||||
|
movw $preloaded_undi, %di
|
||||||
|
movw $undi_device, %si
|
||||||
|
movw $undi_device_size, %cx
|
||||||
|
rep movsb
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Jump to .text16 segment with %ds pointing to .data16*/
|
/* Jump to .text16 segment with %ds pointing to .data16*/
|
||||||
movw %bx, %ds
|
movw %bx, %ds
|
||||||
pushw %ax
|
pushw %ax
|
||||||
|
|||||||
Reference in New Issue
Block a user