Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/bootxx convert to <sys/bootblock.h>



details:   https://anonhg.NetBSD.org/src/rev/84774f7c9b6e
branches:  trunk
changeset: 526647:84774f7c9b6e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue May 07 12:06:06 2002 +0000

description:
convert to <sys/bootblock.h>

diffstat:

 sys/arch/sparc/stand/bootxx/bootxx.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 61b411634074 -r 84774f7c9b6e sys/arch/sparc/stand/bootxx/bootxx.c
--- a/sys/arch/sparc/stand/bootxx/bootxx.c      Tue May 07 11:35:44 2002 +0000
+++ b/sys/arch/sparc/stand/bootxx/bootxx.c      Tue May 07 12:06:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootxx.c,v 1.9 2001/10/30 05:13:09 thorpej Exp $ */
+/*     $NetBSD: bootxx.c,v 1.10 2002/05/07 12:06:06 lukem Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -39,11 +39,11 @@
 #include <sys/param.h>
 #include <sys/time.h>
 #include <sys/exec.h>
+#include <sys/bootblock.h>
 
 #include <lib/libsa/stand.h>
 
 #include <machine/promlib.h>
-#include <sparc/stand/common/bbinfo.h>
 #include <sparc/stand/common/promdev.h>
 
 int debug;
@@ -61,10 +61,10 @@
  * (typically `/boot'): filesystem block size, # of filesystem
  * blocks and the block numbers themselves.
  */
-struct bbinfo bbinfo = {
-       { BBINFO_MAGIC },
+struct sparc_bbinfo bbinfo = {
+       { SPARC_BBINFO_MAGIC },
        0,
-       MAXBLOCKNUM,
+       SPARC_BBINFO_MAXBLOCKS,
        { 0 }
 };
 



Home | Main Index | Thread Index | Old Index