mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[romprefix] Fix regression in UNDI loader
Commit 12f203c introduced a bug that caused the UNDI loader to attempt
to load the UNDI code and data segments to incorrect addresses.
This commit is contained in:
@@ -524,8 +524,8 @@ undiloader:
|
|||||||
pushw %bx
|
pushw %bx
|
||||||
/* UNDI loader parameter structure address into %es:%di */
|
/* UNDI loader parameter structure address into %es:%di */
|
||||||
movw %sp, %bx
|
movw %sp, %bx
|
||||||
movw %ss:12(%bx), %di
|
movw %ss:16(%bx), %di
|
||||||
movw %ss:14(%bx), %es
|
movw %ss:18(%bx), %es
|
||||||
/* Install to specified real-mode addresses */
|
/* Install to specified real-mode addresses */
|
||||||
pushw %di
|
pushw %di
|
||||||
movw %es:12(%di), %bx
|
movw %es:12(%di), %bx
|
||||||
|
|||||||
Reference in New Issue
Block a user