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/bootxx Reinstate the 'banner'.
details: https://anonhg.NetBSD.org/src/rev/781bbf974e9f
branches: trunk
changeset: 749134:781bbf974e9f
user: dsl <dsl%NetBSD.org@localhost>
date: Wed Nov 18 21:02:16 2009 +0000
description:
Reinstate the 'banner'.
It is a useful diagnostic that the boot sequence is proceeding.
diffstat:
sys/arch/i386/stand/bootxx/boot1.c | 10 ++++------
sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile | 3 +--
2 files changed, 5 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r 79ad605ed498 -r 781bbf974e9f sys/arch/i386/stand/bootxx/boot1.c
--- a/sys/arch/i386/stand/bootxx/boot1.c Wed Nov 18 20:51:22 2009 +0000
+++ b/sys/arch/i386/stand/bootxx/boot1.c Wed Nov 18 21:02:16 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot1.c,v 1.17 2008/04/30 16:18:26 ad Exp $ */
+/* $NetBSD: boot1.c,v 1.18 2009/11/18 21:02:16 dsl Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: boot1.c,v 1.17 2008/04/30 16:18:26 ad Exp $");
+__RCSID("$NetBSD: boot1.c,v 1.18 2009/11/18 21:02:16 dsl Exp $");
#include <lib/libsa/stand.h>
#include <lib/libkern/libkern.h>
@@ -62,15 +62,13 @@
const char *
boot1(uint32_t biosdev, uint32_t *sector)
{
- struct stat sb;
+ struct stat sb;
int fd;
bios_sector = *sector;
d.dev = biosdev;
-#ifdef SHOW_BANNER
- putstr("\r\nNetBSD/x86 " STR(FS) " Primary Bootstrap\r\n");
-#endif
+ putstr("\r\nNetBSD/x86 " STR(FS) " Primary Bootstrap\r\n");
if (set_geometry(&d, NULL))
return "set_geometry\r\n";
diff -r 79ad605ed498 -r 781bbf974e9f sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile
--- a/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile Wed Nov 18 20:51:22 2009 +0000
+++ b/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile Wed Nov 18 21:02:16 2009 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2008/04/30 16:18:26 ad Exp $
+# $NetBSD: Makefile,v 1.3 2009/11/18 21:02:16 dsl Exp $
FS=ustarfs
BOOTXX_SECTORS=16
-CPPFLAGS+= -DSHOW_BANNER
.include <../Makefile.bootxx>
Home |
Main Index |
Thread Index |
Old Index