2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-25 19:08:35 +00: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:
Michael Brown 2008-08-22 23:58:35 +01:00
parent 82baea0a4b
commit d5e07dfe92

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