Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/efiboot/bootia32 Fix multiboot32 argumen...



details:   https://anonhg.NetBSD.org/src/rev/1108548eaa03
branches:  trunk
changeset: 965609:1108548eaa03
user:      manu <manu%NetBSD.org@localhost>
date:      Tue Sep 24 00:47:46 2019 +0000

description:
Fix multiboot32 argument usage

diffstat:

 sys/arch/i386/stand/efiboot/bootia32/multiboot32.S |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 1fc92e2e6bf0 -r 1108548eaa03 sys/arch/i386/stand/efiboot/bootia32/multiboot32.S
--- a/sys/arch/i386/stand/efiboot/bootia32/multiboot32.S        Mon Sep 23 23:12:47 2019 +0000
+++ b/sys/arch/i386/stand/efiboot/bootia32/multiboot32.S        Tue Sep 24 00:47:46 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: multiboot32.S,v 1.1 2019/09/13 02:19:45 manu Exp $ */
+/*     $NetBSD: multiboot32.S,v 1.2 2019/09/24 00:47:46 manu Exp $ */
 
 #include <machine/asm.h>
 #include <machine/specialreg.h>
@@ -16,12 +16,12 @@
        .p2align 4,,15
 
 /*
- * multiboot32(entry 8(%esp), multiboot2_info 12(%esp), magic 16(%esp))
+ * multiboot32(entry 4(%esp), multiboot2_info 8(%esp), magic 12(%esp))
  */
 ENTRY(multiboot32_start)
 start:
-        movl    16(%esp),%eax
-        movl    12(%esp),%ebx
-        movl    8(%esp),%edx
+        movl    12(%esp),%eax
+        movl    8(%esp),%ebx
+        movl    4(%esp),%edx
         jmp    *%edx
 multiboot32_end:



Home | Main Index | Thread Index | Old Index