Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/bootblock/bootxx_ffs Stop twiddling whe...



details:   https://anonhg.NetBSD.org/src/rev/b6499197adf5
branches:  trunk
changeset: 365859:b6499197adf5
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Apr 29 07:18:17 2022 +0000

description:
Stop twiddling when loading boot.amiga; it is small enough.

Slightly reduce insn's for primary loaders, and stop them to output garbage.

diffstat:

 sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile |  4 ++--
 sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c   |  9 ++++++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 2ffd5c83b18b -r b6499197adf5 sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
--- a/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile        Fri Apr 29 07:12:41 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile        Fri Apr 29 07:18:17 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.26 2021/02/25 03:42:14 rin Exp $
+#      $NetBSD: Makefile,v 1.27 2022/04/29 07:18:17 rin Exp $
 
 .include <bsd.init.mk>
 .include <bsd.sys.mk>
@@ -36,7 +36,7 @@
 
 BINDIR=/usr/mdec
 
-COBJS = main.o console.o xd.o twiddle.o bzero.o gets.o
+COBJS = main.o console.o xd.o bzero.o gets.o
 COBJS+=  lseek.o open.o vers.o read.o close.o dev.o errno.o
 COBJS+=  ${FSOBJS} panic.o files.o
 
diff -r 2ffd5c83b18b -r b6499197adf5 sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
--- a/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c  Fri Apr 29 07:12:41 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c  Fri Apr 29 07:18:17 2022 +0000
@@ -1,5 +1,5 @@
 /*
- * $NetBSD: main.c,v 1.9 2009/11/15 20:38:36 snj Exp $
+ * $NetBSD: main.c,v 1.10 2022/04/29 07:18:17 rin Exp $
  *
  *
  * Copyright (c) 1996,1999 Ignatios Souvatzis
@@ -139,3 +139,10 @@
        consclose();
        return 1;
 }
+
+void
+twiddle(void)
+{
+
+       /* Keep silence; boot.amiga should be small enough. */
+}



Home | Main Index | Thread Index | Old Index