Pārlūkot izejas kodu

[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.
tags/v0.9.4
Michael Brown 16 gadus atpakaļ
vecāks
revīzija
d5e07dfe92
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      src/arch/i386/prefix/romprefix.S

+ 2
- 2
src/arch/i386/prefix/romprefix.S Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt