From d5e07dfe925e3ebdd2a5f75c614e919801a4381a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 22 Aug 2008 23:58:35 +0100 Subject: [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. --- src/arch/i386/prefix/romprefix.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S index 59764c6f..baf98e6a 100644 --- a/src/arch/i386/prefix/romprefix.S +++ b/src/arch/i386/prefix/romprefix.S @@ -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 -- cgit v1.2.3-55-g7522