david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[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:
Michael Brown 2008-08-22 23:58:35 +01:00
parent 82baea0a4b
commit d5e07dfe92
1 changed files with 2 additions and 2 deletions

View File

@ -524,8 +524,8 @@ undiloader:
pushw %bx
/* UNDI loader parameter structure address into %es:%di */
movw %sp, %bx
movw %ss:12(%bx), %di
movw %ss:14(%bx), %es
movw %ss:16(%bx), %di
movw %ss:18(%bx), %es
/* Install to specified real-mode addresses */
pushw %di
movw %es:12(%di), %bx