CVS commit: src/sys/arch/mmeye/stand/boot
Module Name:src Committed By: jdolecek Date: Tue Jan 8 19:36:57 UTC 2019 Modified Files: src/sys/arch/mmeye/stand/boot: wd.c Log Message: no need for To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mmeye/stand/boot/wd.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/mmeye/stand/boot/wd.c diff -u src/sys/arch/mmeye/stand/boot/wd.c:1.4 src/sys/arch/mmeye/stand/boot/wd.c:1.5 --- src/sys/arch/mmeye/stand/boot/wd.c:1.4 Fri Jan 2 19:42:06 2015 +++ src/sys/arch/mmeye/stand/boot/wd.c Tue Jan 8 19:36:57 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: wd.c,v 1.4 2015/01/02 19:42:06 christos Exp $ */ +/* $NetBSD: wd.c,v 1.5 2019/01/08 19:36:57 jdolecek Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -36,8 +36,6 @@ #include #include -#include - #include "boot.h" #include "wdvar.h"
CVS commit: src/sys/arch/mmeye/stand/boot
Module Name:src Committed By: christos Date: Tue Jan 8 19:12:41 UTC 2019 Modified Files: src/sys/arch/mmeye/stand/boot: wdc.c Log Message: no need for machine/param.h To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mmeye/stand/boot/wdc.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/mmeye/stand/boot/wdc.c diff -u src/sys/arch/mmeye/stand/boot/wdc.c:1.3 src/sys/arch/mmeye/stand/boot/wdc.c:1.4 --- src/sys/arch/mmeye/stand/boot/wdc.c:1.3 Tue Jan 8 12:15:31 2019 +++ src/sys/arch/mmeye/stand/boot/wdc.c Tue Jan 8 14:12:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.3 2019/01/08 17:15:31 christos Exp $ */ +/* $NetBSD: wdc.c,v 1.4 2019/01/08 19:12:41 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -36,7 +36,6 @@ #include #include -#include #include "boot.h" #include "wdvar.h"
CVS commit: src/sys/arch/mmeye/stand/boot
Module Name:src Committed By: christos Date: Tue Jan 8 17:15:31 UTC 2019 Modified Files: src/sys/arch/mmeye/stand/boot: wdc.c Log Message: Include for DEV_BSIZE/DEV_BSHIFT To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mmeye/stand/boot/wdc.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/mmeye/stand/boot/wdc.c diff -u src/sys/arch/mmeye/stand/boot/wdc.c:1.2 src/sys/arch/mmeye/stand/boot/wdc.c:1.3 --- src/sys/arch/mmeye/stand/boot/wdc.c:1.2 Sat Jul 11 06:32:46 2015 +++ src/sys/arch/mmeye/stand/boot/wdc.c Tue Jan 8 12:15:31 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.2 2015/07/11 10:32:46 kamil Exp $ */ +/* $NetBSD: wdc.c,v 1.3 2019/01/08 17:15:31 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -29,6 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include
CVS commit: src/sys/arch/mmeye/stand/boot
Module Name:src Committed By: mrg Date: Mon Jul 4 12:03:56 UTC 2011 Modified Files: src/sys/arch/mmeye/stand/boot: wd.c Log Message: convert a cast & structure assignment to a memcpy() to avoid potential pointer aliasing issues. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mmeye/stand/boot/wd.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/mmeye/stand/boot/wd.c diff -u src/sys/arch/mmeye/stand/boot/wd.c:1.1 src/sys/arch/mmeye/stand/boot/wd.c:1.2 --- src/sys/arch/mmeye/stand/boot/wd.c:1.1 Thu Mar 3 05:59:37 2011 +++ src/sys/arch/mmeye/stand/boot/wd.c Mon Jul 4 12:03:56 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: wd.c,v 1.1 2011/03/03 05:59:37 kiyohara Exp $ */ +/* $NetBSD: wd.c,v 1.2 2011/07/04 12:03:56 mrg Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -58,7 +58,7 @@ if ((error = wdc_exec_identify(wd, buf)) != 0) return error; - wd->sc_params = *(struct ataparams *)buf; + memcpy(&wd->sc_params, buf, sizeof wd->sc_params); /* 48-bit LBA addressing */ if ((wd->sc_params.atap_cmd2_en & ATA_CMD2_LBA48) != 0)
CVS commit: src/sys/arch/mmeye/stand/boot
Module Name:src Committed By: joerg Date: Sat Mar 5 01:58:01 UTC 2011 Modified Files: src/sys/arch/mmeye/stand/boot: Makefile Log Message: Use deflate.sh from the right directory. Execute with HOST_SH. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mmeye/stand/boot/Makefile 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/mmeye/stand/boot/Makefile diff -u src/sys/arch/mmeye/stand/boot/Makefile:1.1 src/sys/arch/mmeye/stand/boot/Makefile:1.2 --- src/sys/arch/mmeye/stand/boot/Makefile:1.1 Thu Mar 3 05:59:37 2011 +++ src/sys/arch/mmeye/stand/boot/Makefile Sat Mar 5 01:58:01 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/03/03 05:59:37 kiyohara Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/05 01:58:01 joerg Exp $ NOMAN= # defined @@ -82,8 +82,8 @@ ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} .if ${MMEYE_CPU} == "SH4" ${OBJCOPY} -S -O binary ${.TARGET} ${.TARGET}.bin - env TOOL_AWK=${TOOL_AWK} TOOL_HEXDUMP=${TOOL_HEXDUMP} \ - ./deflate.sh ${.TARGET}.bin + TOOL_AWK=${TOOL_AWK} TOOL_HEXDUMP=${TOOL_HEXDUMP} \ + ${HOST_SH} $(.CURDIR)/deflate.sh ${.TARGET}.bin .endif cleandir distclean: .WAIT cleanlibdir