Module Name: src Committed By: rin Date: Fri Apr 29 07:18:17 UTC 2022
Modified Files: src/sys/arch/amiga/stand/bootblock/bootxx_ffs: Makefile main.c Log Message: Stop twiddling when loading boot.amiga; it is small enough. Slightly reduce insn's for primary loaders, and stop them to output garbage. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 \ src/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile cvs rdiff -u -r1.9 -r1.10 \ src/sys/arch/amiga/stand/bootblock/bootxx_ffs/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/amiga/stand/bootblock/bootxx_ffs/Makefile diff -u src/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile:1.26 src/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile:1.27 --- src/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile:1.26 Thu Feb 25 03:42:14 2021 +++ src/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile Fri Apr 29 07:18:17 2022 @@ -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 @@ DEFS+= -DBOOTXX_FFS_VERSION=1 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 Index: src/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c diff -u src/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c:1.9 src/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c:1.10 --- src/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c:1.9 Sun Nov 15 20:38:36 2009 +++ src/sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c Fri Apr 29 07:18:17 2022 @@ -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 @@ err: consclose(); return 1; } + +void +twiddle(void) +{ + + /* Keep silence; boot.amiga should be small enough. */ +}