Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
Michael Brown committed Aug 22, 2008
1 parent 82baea0 commit d5e07df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/i386/prefix/romprefix.S
Expand Up @@ -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
Expand Down

0 comments on commit d5e07df

Please sign in to comment.