Module Name: src Committed By: pgoyette Date: Mon Sep 24 10:21:00 UTC 2018
Modified Files: src/sys/arch/acorn32/conf [pgoyette-compat]: files.acorn32 src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile Added Files: src/sys/arch/acorn32/acorn32 [pgoyette-compat]: netbsd32_machdep.c src/sys/arch/algor/algor [pgoyette-compat]: netbsd32_machdep.c netbsd32_machdep_16.c Log Message: Work in progress To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/acorn32/acorn32/netbsd32_machdep.c cvs rdiff -u -r1.29 -r1.29.64.1 src/sys/arch/acorn32/conf/files.acorn32 cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/algor/algor/netbsd32_machdep.c \ src/sys/arch/algor/algor/netbsd32_machdep_16.c cvs rdiff -u -r1.20.12.12 -r1.20.12.13 \ src/sys/modules/compat_netbsd32/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/acorn32/conf/files.acorn32 diff -u src/sys/arch/acorn32/conf/files.acorn32:1.29 src/sys/arch/acorn32/conf/files.acorn32:1.29.64.1 --- src/sys/arch/acorn32/conf/files.acorn32:1.29 Sat Jan 17 22:56:34 2009 +++ src/sys/arch/acorn32/conf/files.acorn32 Mon Sep 24 10:21:00 2018 @@ -1,4 +1,4 @@ -# $NetBSD: files.acorn32,v 1.29 2009/01/17 22:56:34 bjh21 Exp $ +# $NetBSD: files.acorn32,v 1.29.64.1 2018/09/24 10:21:00 pgoyette Exp $ # # First try for arm-specific configuration info # @@ -187,4 +187,11 @@ include "dev/pckbport/files.pckbport" # Include USB stuff #include "dev/usb/files.usb" +# +# Files for compat_netbsd32 +# +file arch/acorn32/acorn32/netbsd32_machdep.c compat_netbsd32 +file arch/acorn32/acorn32/netbsd32_machdep_16.c compat_netbsd32 & + compat_16 + include "arch/acorn32/conf/majors.acorn32" Index: src/sys/modules/compat_netbsd32/Makefile diff -u src/sys/modules/compat_netbsd32/Makefile:1.20.12.12 src/sys/modules/compat_netbsd32/Makefile:1.20.12.13 --- src/sys/modules/compat_netbsd32/Makefile:1.20.12.12 Fri Sep 14 08:38:37 2018 +++ src/sys/modules/compat_netbsd32/Makefile Mon Sep 24 10:21:00 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20.12.12 2018/09/14 08:38:37 pgoyette Exp $ +# $NetBSD: Makefile,v 1.20.12.13 2018/09/24 10:21:00 pgoyette Exp $ .include "../Makefile.inc" .include "../Makefile.assym" @@ -52,7 +52,7 @@ SRCS+= netbsd32_syscall.c SRCS+= netbsd32_sigcode.S .endif -.PATH: ${S}/arch/${MACHINE_CPU}/${MACHINE_CPU} +.PATH: ${S}/arch/${MACHINE}/${MACHINE} SRCS+= netbsd32_machdep.c .include <bsd.kmodule.mk> Added files: Index: src/sys/arch/acorn32/acorn32/netbsd32_machdep.c diff -u /dev/null src/sys/arch/acorn32/acorn32/netbsd32_machdep.c:1.1.2.1 --- /dev/null Mon Sep 24 10:21:00 2018 +++ src/sys/arch/acorn32/acorn32/netbsd32_machdep.c Mon Sep 24 10:20:59 2018 @@ -0,0 +1,59 @@ +/* $NetBSD: netbsd32_machdep.c,v 1.1.2.1 2018/09/24 10:20:59 pgoyette Exp $ */ + +/* + * Copyright (c) 2001 Wasabi Systems, Inc. + * All rights reserved. + * + * Written by Frank van der Linden for Wasabi Systems, Inc. + * + * 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 for the NetBSD Project by + * Wasabi Systems, Inc. + * 4. The name of Wasabi Systems, Inc. may not be used to endorse + * or promote products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``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 WASABI SYSTEMS, INC + * 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 <sys/cdefs.h> +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.1.2.1 2018/09/24 10:20:59 pgoyette Exp $"); + +#ifdef _KERNEL_OPT +#include "opt_compat_netbsd.h" +#endif + +#include <compat/netbsd32/netbsd32.h> + +void +netbsd32_machdep_md_init(void) +{ + + /* nothing to do */ +} + +void +netbsd32_machdep_md_fini(void) +{ + + /* nothing to do */ +} Index: src/sys/arch/algor/algor/netbsd32_machdep.c diff -u /dev/null src/sys/arch/algor/algor/netbsd32_machdep.c:1.1.2.1 --- /dev/null Mon Sep 24 10:21:00 2018 +++ src/sys/arch/algor/algor/netbsd32_machdep.c Mon Sep 24 10:21:00 2018 @@ -0,0 +1,59 @@ +/* $NetBSD: netbsd32_machdep.c,v 1.1.2.1 2018/09/24 10:21:00 pgoyette Exp $ */ + +/* + * Copyright (c) 2001 Wasabi Systems, Inc. + * All rights reserved. + * + * Written by Frank van der Linden for Wasabi Systems, Inc. + * + * 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 for the NetBSD Project by + * Wasabi Systems, Inc. + * 4. The name of Wasabi Systems, Inc. may not be used to endorse + * or promote products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``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 WASABI SYSTEMS, INC + * 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 <sys/cdefs.h> +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.1.2.1 2018/09/24 10:21:00 pgoyette Exp $"); + +#ifdef _KERNEL_OPT +#include "opt_compat_netbsd.h" +#endif + +#include <compat/netbsd32/netbsd32.h> + +void +netbsd32_machdep_md_init(void) +{ + + /* nothing to do */ +} + +void +netbsd32_machdep_md_fini(void) +{ + + /* nothing to do */ +} Index: src/sys/arch/algor/algor/netbsd32_machdep_16.c diff -u /dev/null src/sys/arch/algor/algor/netbsd32_machdep_16.c:1.1.2.1 --- /dev/null Mon Sep 24 10:21:00 2018 +++ src/sys/arch/algor/algor/netbsd32_machdep_16.c Mon Sep 24 10:21:00 2018 @@ -0,0 +1,59 @@ +/* $NetBSD: netbsd32_machdep_16.c,v 1.1.2.1 2018/09/24 10:21:00 pgoyette Exp $ */ + +/* + * Copyright (c) 2001 Wasabi Systems, Inc. + * All rights reserved. + * + * Written by Frank van der Linden for Wasabi Systems, Inc. + * + * 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 for the NetBSD Project by + * Wasabi Systems, Inc. + * 4. The name of Wasabi Systems, Inc. may not be used to endorse + * or promote products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``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 WASABI SYSTEMS, INC + * 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 <sys/cdefs.h> +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.1.2.1 2018/09/24 10:21:00 pgoyette Exp $"); + +#ifdef _KERNEL_OPT +#include "opt_compat_netbsd.h" +#endif + +#include <compat/netbsd32/netbsd32.h> + +void +netbsd32_machdep_md_16_init(void) +{ + + /* nothing to do */ +} + +void +netbsd32_machdep_md_16_fini(void) +{ + + /* nothing to do */ +}