Don't include "DEFS.h" when <machine/asm.h> is enough.

This commit is contained in:
matt 2005-12-24 08:33:32 +00:00
parent 7111987161
commit 460818ad02
5 changed files with 10 additions and 10 deletions

View File

@ -1,10 +1,10 @@
/* Written by Anders Magnusson. Public Domain */
#if defined(LIBC_SCCS) && !defined(lint)
.asciz "$NetBSD: bswap64.S,v 1.1 2005/12/20 19:28:50 christos Exp $"
.asciz "$NetBSD: bswap64.S,v 1.2 2005/12/24 08:33:32 matt Exp $"
#endif /* LIBC_SCCS and not lint */
#include "DEFS.h"
#include <machine/asm.h>
ENTRY(bswap64, 0)
movq 4(%ap),%r3

View File

@ -32,7 +32,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/* .asciz "@(#)udiv.s 8.1 (Berkeley) 6/4/93" */
.asciz "$NetBSD: udiv.S,v 1.1 2005/12/20 19:28:50 christos Exp $"
.asciz "$NetBSD: udiv.S,v 1.2 2005/12/24 08:33:32 matt Exp $"
#endif /* LIBC_SCCS and not lint */
/*
@ -41,7 +41,7 @@
* audiv() takes a pointer to a dividend and an ordinary divisor.
*/
#include "DEFS.h"
#include <machine/asm.h>
#define DIVIDEND 4(%ap)
#define DIVISOR 8(%ap)

View File

@ -32,10 +32,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/* .asciz "@(#)urem.s 8.1 (Berkeley) 6/4/93" */
.asciz "$NetBSD: urem.S,v 1.1 2005/12/20 19:28:50 christos Exp $"
.asciz "$NetBSD: urem.S,v 1.2 2005/12/24 08:33:32 matt Exp $"
#endif /* LIBC_SCCS and not lint */
#include "DEFS.h"
#include <machine/asm.h>
/*
* Unsigned modulus, PCC flavor.

View File

@ -1,4 +1,4 @@
/* $NetBSD: memcpy.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
/* $NetBSD: memcpy.S,v 1.2 2005/12/24 08:33:32 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@ -40,7 +40,7 @@
* of some extra memory references and branches when count >= 65536.
*/
#include "DEFS.h"
#include <machine/asm.h>
ENTRY(memcpy, 0)
movzwl $65535,%r0 /* %r0 = 64K (needed below) */

View File

@ -1,4 +1,4 @@
/* $NetBSD: memmove.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
/* $NetBSD: memmove.S,v 1.2 2005/12/24 08:33:32 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@ -40,7 +40,7 @@
* of some extra memory references and branches when count >= 65536.
*/
#include "DEFS.h"
#include <machine/asm.h>
ENTRY(memmove, 0)
movzwl $65535,%r0 /* %r0 = 64K (needed below) */