Module Name: src
Committed By: nisimura
Date: Tue Jan 11 08:19:34 UTC 2011
Modified Files:
src/sys/arch/sandpoint/stand/netboot: main.c
Log Message:
move module load address printf() to show the correct value. Still
some more work.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/sandpoint/stand/netboot/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sandpoint/stand/netboot/main.c
diff -u src/sys/arch/sandpoint/stand/netboot/main.c:1.38 src/sys/arch/sandpoint/stand/netboot/main.c:1.39
--- src/sys/arch/sandpoint/stand/netboot/main.c:1.38 Tue Jan 11 08:04:14 2011
+++ src/sys/arch/sandpoint/stand/netboot/main.c Tue Jan 11 08:19:34 2011
@@ -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);