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/lib The x86 kernel entry point stack arg...



details:   https://anonhg.NetBSD.org/src/rev/1bc75a321655
branches:  trunk
changeset: 791595:1bc75a321655
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Nov 24 17:20:00 2013 +0000

description:
The x86 kernel entry point stack arguments are always 32-bit, even on amd64.

diffstat:

 sys/arch/i386/stand/lib/exec.c    |  4 ++--
 sys/arch/i386/stand/lib/libi386.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 8b857af78e30 -r 1bc75a321655 sys/arch/i386/stand/lib/exec.c
--- a/sys/arch/i386/stand/lib/exec.c    Sun Nov 24 17:17:48 2013 +0000
+++ b/sys/arch/i386/stand/lib/exec.c    Sun Nov 24 17:20:00 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.c,v 1.53 2013/11/24 17:17:48 jakllsch Exp $        */
+/*     $NetBSD: exec.c,v 1.54 2013/11/24 17:20:00 jakllsch Exp $        */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -345,7 +345,7 @@
 exec_netbsd(const char *file, physaddr_t loadaddr, int boothowto, int floppy,
            void (*callback)(void))
 {
-       u_long          boot_argv[BOOT_NARGS];
+       uint32_t        boot_argv[BOOT_NARGS];
        u_long          marks[MARK_MAX];
        struct btinfo_symtab btinfo_symtab;
        u_long          extmem;
diff -r 8b857af78e30 -r 1bc75a321655 sys/arch/i386/stand/lib/libi386.h
--- a/sys/arch/i386/stand/lib/libi386.h Sun Nov 24 17:17:48 2013 +0000
+++ b/sys/arch/i386/stand/lib/libi386.h Sun Nov 24 17:20:00 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libi386.h,v 1.39 2013/08/30 16:42:17 jmcneill Exp $    */
+/*     $NetBSD: libi386.h,v 1.40 2013/11/24 17:20:00 jakllsch Exp $    */
 
 /*
  * Copyright (c) 1996
@@ -35,7 +35,7 @@
 physaddr_t vtophys(void *);
 
 ssize_t pread(int, void *, size_t);
-void startprog(physaddr_t, int, unsigned long *, physaddr_t);
+void startprog(physaddr_t, uint32_t, uint32_t *, physaddr_t);
 void multiboot(physaddr_t, physaddr_t, physaddr_t);
 
 int exec_netbsd(const char *, physaddr_t, int, int, void (*)(void));



Home | Main Index | Thread Index | Old Index