xref: /netbsd-src/lib/libc/arch/m68k/sys/mremap.S (revision 942581824f52f2ec2ee4a78b95b13892268c05ee)
1*94258182Smatt/*	$NetBSD: mremap.S,v 1.3 2013/07/16 22:15:55 matt Exp $	*/
2e094ff61Smartin
3e094ff61Smartin/*-
4e094ff61Smartin * Copyright (c) 2007 The NetBSD Foundation, Inc.
5e094ff61Smartin * All rights reserved.
6e094ff61Smartin *
7e094ff61Smartin * Redistribution and use in source and binary forms, with or without
8e094ff61Smartin * modification, are permitted provided that the following conditions
9e094ff61Smartin * are met:
10e094ff61Smartin * 1. Redistributions of source code must retain the above copyright
11e094ff61Smartin *    notice, this list of conditions and the following disclaimer.
12e094ff61Smartin * 2. Redistributions in binary form must reproduce the above copyright
13e094ff61Smartin *    notice, this list of conditions and the following disclaimer in the
14e094ff61Smartin *    documentation and/or other materials provided with the distribution.
15e094ff61Smartin *
16e094ff61Smartin * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17e094ff61Smartin * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18e094ff61Smartin * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19e094ff61Smartin * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20e094ff61Smartin * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21e094ff61Smartin * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22e094ff61Smartin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23e094ff61Smartin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24e094ff61Smartin * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25e094ff61Smartin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26e094ff61Smartin * POSSIBILITY OF SUCH DAMAGE.
27e094ff61Smartin */
28e094ff61Smartin
29e094ff61Smartin#include "SYS.h"
30e094ff61Smartin
31e094ff61SmartinSYSCALL(mremap)
32e094ff61Smartin#ifdef	__SVR4_ABI__
33e094ff61Smartin	movl	%d0,%a0
34e094ff61Smartin#endif
35e094ff61Smartin	rts
36*94258182SmattEND(mremap)
37