Remove DEFS.h, which has been just a placeholder for a long time.
This commit is contained in:
parent
44fa942695
commit
76dfffe335
|
@ -1,42 +0,0 @@
|
|||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* This software was developed by the Computer Systems Engineering group
|
||||
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
|
||||
* contributed to Berkeley.
|
||||
*
|
||||
* 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 University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University 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.
|
||||
*
|
||||
* From: @(#)DEFS.h 8.1 (Berkeley) 6/4/93
|
||||
* $Id: DEFS.h,v 1.3 1994/02/10 20:15:28 pk Exp $
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: _setjmp.s,v 1.1 91/07/06 16:45:53 torek Exp
|
||||
* $Id: _setjmp.S,v 1.2 1996/03/06 21:50:20 pk Exp $
|
||||
* $Id: _setjmp.S,v 1.3 1996/11/16 20:53:15 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -53,7 +53,7 @@
|
|||
* The previous signal state is NOT restored.
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(_setjmp)
|
||||
st %sp, [%o0+0] /* store caller's stack pointer */
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: fabs.s,v 1.4 91/10/07 23:59:05 torek Exp
|
||||
* $Id: fabs.S,v 1.1 1993/10/07 00:21:30 cgd Exp $
|
||||
* $Id: fabs.S,v 1.2 1996/11/16 20:53:18 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
/* fabs - floating absolute value */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fabs)
|
||||
std %o0, [%sp + 32] ! return value => %f0:f1
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: fixunsdfsi.s,v 1.3 91/10/08 00:03:15 torek Exp
|
||||
* $Id: fixunsdfsi.S,v 1.2 1995/08/14 15:47:32 pk Exp $
|
||||
* $Id: fixunsdfsi.S,v 1.3 1996/11/16 20:53:19 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -49,7 +49,7 @@
|
|||
* that it really matters, by using `fbul,a'.
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
.align 8
|
||||
Lbig:
|
||||
|
|
|
@ -35,14 +35,14 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: modf.s,v 1.3 92/06/20 00:00:54 torek Exp
|
||||
* $Id: modf.S,v 1.3 1994/02/10 20:15:47 pk Exp $
|
||||
* $Id: modf.S,v 1.4 1996/11/16 20:53:20 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.asciz "@(#)modf.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
#include <machine/fsr.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: mul.s,v 1.5 92/06/25 13:24:03 torek Exp
|
||||
* $Id: mul.S,v 1.1 1993/10/07 00:21:38 cgd Exp $
|
||||
* $Id: mul.S,v 1.2 1996/11/16 20:53:21 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -52,7 +52,7 @@
|
|||
* This code optimizes short (less than 13-bit) multiplies.
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
FUNC(.mul)
|
||||
mov %o0, %y ! multiplier -> Y
|
||||
andncc %o0, 0xfff, %g0 ! test bits 12..31
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: saveregs.s,v 1.1 91/07/06 17:22:33 torek Exp
|
||||
* $Id: saveregs.S,v 1.1 1993/10/07 00:21:39 cgd Exp $
|
||||
* $Id: saveregs.S,v 1.2 1996/11/16 20:53:22 pk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -48,7 +48,7 @@
|
|||
*
|
||||
* We assume the caller has executed a `save' instruction.
|
||||
*/
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__builtin_saveregs)
|
||||
st %i0, [%fp + 0x44] ! fr->fr_argd[0]
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: umul.s,v 1.4 92/06/25 13:24:05 torek Exp
|
||||
* $Id: umul.S,v 1.1 1993/10/07 00:21:41 cgd Exp $
|
||||
* $Id: umul.S,v 1.2 1996/11/16 20:53:23 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -58,7 +58,7 @@
|
|||
* bnz overflow (or tnz)
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
FUNC(.umul)
|
||||
or %o0, %o1, %o4
|
||||
mov %o0, %y ! multiplier -> Y
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: htonl.s,v 1.1 92/06/25 12:47:05 torek Exp
|
||||
* $Id: htonl.S,v 1.1 1993/10/07 00:21:46 cgd Exp $
|
||||
* $Id: htonl.S,v 1.2 1996/11/16 20:53:25 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
/* netorder = htonl(hostorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(htonl)
|
||||
retl
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
|
||||
* $Id: htons.S,v 1.1 1993/10/07 00:21:47 cgd Exp $
|
||||
* $Id: htons.S,v 1.2 1996/11/16 20:53:26 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
/* netorder = htons(hostorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(htons)
|
||||
sethi %hi(0xffff0000), %o1
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: ntohl.s,v 1.1 92/06/25 12:47:06 torek Exp
|
||||
* $Id: ntohl.S,v 1.1 1993/10/07 00:21:48 cgd Exp $
|
||||
* $Id: ntohl.S,v 1.2 1996/11/16 20:53:27 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
/* hostorder = ntohl(netorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ntohl)
|
||||
retl
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: ntohs.s,v 1.1 92/06/25 12:47:07 torek Exp
|
||||
* $Id: ntohs.S,v 1.1 1993/10/07 00:21:49 cgd Exp $
|
||||
* $Id: ntohs.S,v 1.2 1996/11/16 20:53:28 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
/* hostorder = ntohs(netorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ntohs)
|
||||
sethi %hi(0xffff0000), %o1
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: abs.s,v 1.1 91/07/06 18:01:57 torek Exp
|
||||
* $Id: abs.S,v 1.1 1993/10/07 00:21:56 cgd Exp $
|
||||
* $Id: abs.S,v 1.2 1996/11/16 20:53:29 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
/* abs - int absolute value */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(abs)
|
||||
tst %o0
|
||||
|
|
|
@ -35,14 +35,14 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: bzero.s,v 1.1 92/06/25 12:52:46 torek Exp
|
||||
* $Id: bzero.S,v 1.1 1993/10/07 00:22:00 cgd Exp $
|
||||
* $Id: bzero.S,v 1.2 1996/11/16 20:53:30 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.asciz "@(#)bzero.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
/*
|
||||
* bzero(addr, len)
|
||||
|
|
|
@ -35,14 +35,14 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp
|
||||
* $Id: ffs.S,v 1.2 1994/02/10 20:15:50 pk Exp $
|
||||
* $Id: ffs.S,v 1.3 1996/11/16 20:53:31 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
/*
|
||||
* ffs returns the number of the rightmost bit set in its argument,
|
||||
|
|
|
@ -35,14 +35,14 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: strlen.s,v 1.1 92/06/25 12:52:47 torek Exp
|
||||
* $Id: strlen.S,v 1.1 1993/10/07 00:22:07 cgd Exp $
|
||||
* $Id: strlen.S,v 1.2 1996/11/16 20:53:32 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.asciz "@(#)strlen.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(strlen)
|
||||
add %o0, 1, %o1 ! save starting point + 1
|
||||
|
|
|
@ -35,14 +35,13 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: Header: cerror.s,v 1.3 92/07/02 04:17:59 torek Exp
|
||||
* $Id: cerror.S,v 1.3 1996/11/16 20:43:07 pk Exp $
|
||||
* $Id: cerror.S,v 1.4 1996/11/16 20:53:34 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.asciz "@(#)cerror.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include "SYS.h"
|
||||
|
||||
#ifdef _REENTRANT
|
||||
|
|
Loading…
Reference in New Issue