Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/stand/netboot move module load address pr...



details:   https://anonhg.NetBSD.org/src/rev/15b2f2ee64fb
branches:  trunk
changeset: 760693:15b2f2ee64fb
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Tue Jan 11 08:19:34 2011 +0000

description:
move module load address printf() to show the correct value.  Still
some more work.

diffstat:

 sys/arch/sandpoint/stand/netboot/main.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 03605cea1812 -r 15b2f2ee64fb sys/arch/sandpoint/stand/netboot/main.c
--- a/sys/arch/sandpoint/stand/netboot/main.c   Tue Jan 11 08:04:14 2011 +0000
+++ b/sys/arch/sandpoint/stand/netboot/main.c   Tue Jan 11 08:19:34 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.38 2011/01/11 08:04:14 nisimura Exp $ */
+/* $NetBSD: main.c,v 1.39 2011/01/11 08:19:34 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -371,9 +371,9 @@
                        bi->len = size;
                        bi->base = kmodloadp;
                        btinfo_modulelist->num += 1;
+                       printf("loaded at 0x%08x size 0x%x", kmodloadp, size);
                        kmodloadp += alignpg(size);
                        bi += 1;
-                       printf("loaded at 0x%08x size 0x%x", kmodloadp, size);
                }
                printf("\n");
                close(fd);



Home | Main Index | Thread Index | Old Index