compat_16_machdep.c revision 1.5
11.5Schristos/* $NetBSD: compat_16_machdep.c,v 1.5 2014/12/14 21:27:49 christos Exp $ */ 21.1Sfvdl 31.1Sfvdl/*- 41.5Schristos * Copyright (c) 2014 The NetBSD Foundation, Inc. 51.1Sfvdl * All rights reserved. 61.1Sfvdl * 71.1Sfvdl * This code is derived from software contributed to The NetBSD Foundation 81.5Schristos * by Christos Zoulas. 91.1Sfvdl * 101.1Sfvdl * Redistribution and use in source and binary forms, with or without 111.1Sfvdl * modification, are permitted provided that the following conditions 121.1Sfvdl * are met: 131.1Sfvdl * 1. Redistributions of source code must retain the above copyright 141.1Sfvdl * notice, this list of conditions and the following disclaimer. 151.1Sfvdl * 2. Redistributions in binary form must reproduce the above copyright 161.1Sfvdl * notice, this list of conditions and the following disclaimer in the 171.1Sfvdl * documentation and/or other materials provided with the distribution. 181.1Sfvdl * 191.1Sfvdl * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.1Sfvdl * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.1Sfvdl * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.1Sfvdl * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.1Sfvdl * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.1Sfvdl * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.1Sfvdl * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.1Sfvdl * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.1Sfvdl * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.1Sfvdl * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.1Sfvdl * POSSIBILITY OF SUCH DAMAGE. 301.1Sfvdl */ 311.1Sfvdl#include <sys/cdefs.h> 321.5Schristos__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.5 2014/12/14 21:27:49 christos Exp $"); 331.1Sfvdl 341.5Schristos#ifdef _KERNEL_OPT 351.1Sfvdl#include "opt_compat_netbsd.h" 361.5Schristos#endif 371.1Sfvdl 381.1Sfvdl#include <sys/param.h> 391.1Sfvdl#include <sys/systm.h> 401.1Sfvdl#include <sys/signalvar.h> 411.1Sfvdl#include <sys/kernel.h> 421.1Sfvdl#include <sys/proc.h> 431.1Sfvdl#include <sys/mount.h> 441.1Sfvdl#include <sys/syscallargs.h> 451.1Sfvdl 461.5Schristos#include <compat/sys/signal.h> 471.5Schristos#include <compat/sys/signalvar.h> 481.5Schristos 491.5Schristos#ifdef COMPAT_16 501.1Sfvdl 511.5Schristosint compat_16_sys___sigreturn14(struct lwp *, const struct compat_16_sys___sigreturn14_args *, register_t *); 521.1Sfvdl 531.1Sfvdl/* 541.5Schristos * There is no NetBSD-1.6 compatibility for native code. 551.5Schristos * COMPAT_16 is useful for i386 emulation (COMPAT_NETBSD32) only. 561.1Sfvdl */ 571.1Sfvdlint 581.5Schristoscompat_16_sys___sigreturn14(struct lwp *l, const struct compat_16_sys___sigreturn14_args *uap, register_t *retval) 591.1Sfvdl{ 601.1Sfvdl 611.5Schristos return ENOSYS; 621.1Sfvdl} 631.5Schristos#endif 64