Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/stand Convert CR/LF -> LF.



details:   https://anonhg.NetBSD.org/src/rev/3b589f41d797
branches:  trunk
changeset: 480564:3b589f41d797
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sun Jan 16 03:07:22 2000 +0000

description:
Convert CR/LF -> LF.

diffstat:

 sys/arch/hpcmips/stand/libsa/alloc.c          |    94 +-
 sys/arch/hpcmips/stand/libsa/bcopy.c          |     4 +-
 sys/arch/hpcmips/stand/libsa/close.c          |     4 +-
 sys/arch/hpcmips/stand/libsa/compat.h         |    90 +-
 sys/arch/hpcmips/stand/libsa/devopen.c        |   264 +-
 sys/arch/hpcmips/stand/libsa/dkcksum.c        |     4 +-
 sys/arch/hpcmips/stand/libsa/lseek.c          |     4 +-
 sys/arch/hpcmips/stand/libsa/open.c           |     4 +-
 sys/arch/hpcmips/stand/libsa/printf.c         |   142 +-
 sys/arch/hpcmips/stand/libsa/read.c           |     4 +-
 sys/arch/hpcmips/stand/libsa/stand.h          |    98 +-
 sys/arch/hpcmips/stand/libsa/subr_prf.c       |     4 +-
 sys/arch/hpcmips/stand/libsa/twiddle.c        |     4 +-
 sys/arch/hpcmips/stand/libsa/winblk.c         |   710 ++++----
 sys/arch/hpcmips/stand/libsa/winblk.h         |    82 +-
 sys/arch/hpcmips/stand/libsa/winfs.c          |   360 ++--
 sys/arch/hpcmips/stand/libsa/winfs.h          |    90 +-
 sys/arch/hpcmips/stand/pbsdboot/disptest.c    |   726 ++++----
 sys/arch/hpcmips/stand/pbsdboot/elf.c         |   722 ++++----
 sys/arch/hpcmips/stand/pbsdboot/layout.c      |   480 ++--
 sys/arch/hpcmips/stand/pbsdboot/main.c        |  2024 ++++++++++++------------
 sys/arch/hpcmips/stand/pbsdboot/mips.c        |   220 +-
 sys/arch/hpcmips/stand/pbsdboot/pbsdboot.c    |   192 +-
 sys/arch/hpcmips/stand/pbsdboot/pbsdboot.h    |   366 ++--
 sys/arch/hpcmips/stand/pbsdboot/platid.c      |     4 +-
 sys/arch/hpcmips/stand/pbsdboot/platid_mask.c |     4 +-
 sys/arch/hpcmips/stand/pbsdboot/preference.c  |   378 ++--
 sys/arch/hpcmips/stand/pbsdboot/print.c       |   134 +-
 sys/arch/hpcmips/stand/pbsdboot/systeminfo.c  |   266 +-
 sys/arch/hpcmips/stand/pbsdboot/tx39xx.c      |   584 +++---
 sys/arch/hpcmips/stand/pbsdboot/vmem.c        |   808 ++++----
 sys/arch/hpcmips/stand/pbsdboot/vr41xx.c      |   466 ++--
 32 files changed, 4668 insertions(+), 4668 deletions(-)

diffs (truncated from 9467 to 300 lines):

diff -r e0495c360ccc -r 3b589f41d797 sys/arch/hpcmips/stand/libsa/alloc.c
--- a/sys/arch/hpcmips/stand/libsa/alloc.c      Sun Jan 16 01:42:03 2000 +0000
+++ b/sys/arch/hpcmips/stand/libsa/alloc.c      Sun Jan 16 03:07:22 2000 +0000
@@ -1,47 +1,47 @@
-/*     $NetBSD: alloc.c,v 1.1.1.1 1999/09/16 12:23:28 takemura Exp $   */
-
-/*-
- * Copyright (c) 1999 Shin Takemura.
- * All rights reserved.
- *
- * This software is part of the PocketBSD.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the PocketBSD project
- *     and its contributors.
- * 4. Neither the name of the project nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */
-#include <stand.h>
-
-void * malloc(size_t size);
-
-void *
-alloc(size)
-       unsigned size;
-{
-       return malloc(size);
-}
+/*     $NetBSD: alloc.c,v 1.2 2000/01/16 03:07:22 takemura Exp $       */
+
+/*-
+ * Copyright (c) 1999 Shin Takemura.
+ * All rights reserved.
+ *
+ * This software is part of the PocketBSD.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *     This product includes software developed by the PocketBSD project
+ *     and its contributors.
+ * 4. Neither the name of the project nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
+#include <stand.h>
+
+void * malloc(size_t size);
+
+void *
+alloc(size)
+       unsigned size;
+{
+       return malloc(size);
+}
diff -r e0495c360ccc -r 3b589f41d797 sys/arch/hpcmips/stand/libsa/bcopy.c
--- a/sys/arch/hpcmips/stand/libsa/bcopy.c      Sun Jan 16 01:42:03 2000 +0000
+++ b/sys/arch/hpcmips/stand/libsa/bcopy.c      Sun Jan 16 03:07:22 2000 +0000
@@ -1,2 +1,2 @@
-#include "compat.h"
-#include "../../../../lib/libsa/bcopy.c"
+#include "compat.h"
+#include "../../../../lib/libsa/bcopy.c"
diff -r e0495c360ccc -r 3b589f41d797 sys/arch/hpcmips/stand/libsa/close.c
--- a/sys/arch/hpcmips/stand/libsa/close.c      Sun Jan 16 01:42:03 2000 +0000
+++ b/sys/arch/hpcmips/stand/libsa/close.c      Sun Jan 16 03:07:22 2000 +0000
@@ -1,2 +1,2 @@
-#include "compat.h"
-#include "../../../../lib/libsa/close.c"
+#include "compat.h"
+#include "../../../../lib/libsa/close.c"
diff -r e0495c360ccc -r 3b589f41d797 sys/arch/hpcmips/stand/libsa/compat.h
--- a/sys/arch/hpcmips/stand/libsa/compat.h     Sun Jan 16 01:42:03 2000 +0000
+++ b/sys/arch/hpcmips/stand/libsa/compat.h     Sun Jan 16 03:07:22 2000 +0000
@@ -1,47 +1,47 @@
-/*     $NetBSD: compat.h,v 1.1.1.1 1999/09/16 12:23:28 takemura Exp $  */
-
-/*-
- * Copyright (c) 1999 Shin Takemura.
- * All rights reserved.
- *
- * This software is part of the PocketBSD.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the PocketBSD project
- *     and its contributors.
- * 4. Neither the name of the project nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */
+/*     $NetBSD: compat.h,v 1.2 2000/01/16 03:07:24 takemura Exp $      */
+
+/*-
+ * Copyright (c) 1999 Shin Takemura.
+ * All rights reserved.
+ *
+ * This software is part of the PocketBSD.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *     This product includes software developed by the PocketBSD project
+ *     and its contributors.
+ * 4. Neither the name of the project nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
 #define        __lint__
 #define __symbolrename(x)
-#define _LKM
-#define _STANDALONE
-#define __STDC__
-#define NO_LONG_LONG
-#define INT64TYPE __int64
-#define UINT64TYPE unsigned __int64
-
-#define bzero(s, n)    memset((s), 0, (n))
+#define _LKM
+#define _STANDALONE
+#define __STDC__
+#define NO_LONG_LONG
+#define INT64TYPE __int64
+#define UINT64TYPE unsigned __int64
+
+#define bzero(s, n)    memset((s), 0, (n))
diff -r e0495c360ccc -r 3b589f41d797 sys/arch/hpcmips/stand/libsa/devopen.c
--- a/sys/arch/hpcmips/stand/libsa/devopen.c    Sun Jan 16 01:42:03 2000 +0000
+++ b/sys/arch/hpcmips/stand/libsa/devopen.c    Sun Jan 16 03:07:22 2000 +0000
@@ -1,132 +1,132 @@
-/*     $NetBSD: devopen.c,v 1.2 2000/01/03 05:59:40 takemura Exp $     */
-
-/*-
- * Copyright (c) 1999 Shin Takemura.
- * All rights reserved.
- *
- * This software is part of the PocketBSD.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the PocketBSD project
- *     and its contributors.
- * 4. Neither the name of the project nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */
-#define STANDALONE_WINDOWS_SIDE
-#include <stand.h>
-#include <winblk.h>
-#include <winfs.h>
-#include <lib/libsa/ufs.h>
-
-extern int parsebootfile __P((const char *, char**, char**, unsigned int*,
-                              unsigned int*, const char**));
-
-struct devsw devsw[] = {
-       {"winblk", winblkstrategy, winblkopen, winblkclose, winblkioctl },
-};
-int ndevs = sizeof(devsw) / sizeof(struct devsw);
-
-static struct fs_ops winop = {
-        win_open, win_close, win_read, win_write, win_seek, win_stat
-};
-
-static struct fs_ops ufsop = {
-        ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat
-};
-
-struct fs_ops   file_system[] = {
-       { 0 },
-};
-int nfsys = 1;
-
-int
-parsebootfile(fnamexx, fsmode, devname, unit, partition, file)
-        const char     *fnamexx;
-        char          **fsmode; /* out */
-        char          **devname; /* out */
-        unsigned int   *unit, *partition; /* out */
-        const char    **file; /* out */
-{
-       TCHAR *fname = (TCHAR*)fnamexx;
-
-       if (fname[0] == TEXT('\\')) {
-               *fsmode = "win";
-               *devname = "";
-               *unit = 0;
-               *partition = 0;
-               *file = fname;
-       } else {
-               static char name[1024]; /* XXX */
-
-               if (wcstombs(name, (TCHAR*)fname, sizeof(name)) < 0) {
-                       return (ENOENT);
-               }



Home | Main Index | Thread Index | Old Index