-/* $OpenBSD: asm.h,v 1.13 2016/05/27 16:32:38 deraadt Exp $ */
+/* $OpenBSD: asm.h,v 1.14 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.23 2000/06/23 12:18:45 kleink Exp $ */
/*
#define WARN_REFERENCES(_sym,_msg) \
.section .gnu.warning./**/_sym ; .ascii _msg ; .text
#endif /* __STDC__ */
-
-/*
- * Kernel RCS ID tag and copyright macros
- */
-
-#ifdef _KERNEL
-
-#define __KERNEL_SECTIONSTRING(_sec, _str) \
- .section _sec ; .asciz _str ; .text
-
-#define __KERNEL_RCSID(_n, _s) __KERNEL_SECTIONSTRING(.ident, _s)
-#define __KERNEL_COPYRIGHT(_n, _s) __KERNEL_SECTIONSTRING(.copyright, _s)
-
-#ifdef NO_KERNEL_RCSIDS
-#undef __KERNEL_RCSID
-#define __KERNEL_RCSID(_n, _s) /* nothing */
-#endif
-
-#endif /* _KERNEL */
-/* $OpenBSD: asm.h,v 1.7 2017/06/23 09:55:10 mpi Exp $ */
+/* $OpenBSD: asm.h,v 1.8 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.2 2003/05/02 18:05:47 yamt Exp $ */
/*-
#define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE
#define END(y) .size y, . - y
-#define ASMSTR .asciz
-
-#define RCSID(x) .text; .asciz x
-
#define STRONG_ALIAS(alias,sym) \
.global alias; \
alias = sym
-/* $OpenBSD: asm.h,v 1.8 2017/06/23 09:55:10 mpi Exp $ */
+/* $OpenBSD: asm.h,v 1.9 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.4 2001/07/16 05:43:32 matt Exp $ */
/*
#define ASENTRY_NP(y) _ENTRY(_ASM_LABEL(y))
#define END(y) .size y, . - y
-#define ASMSTR .asciz
-
#if defined(__PIC__)
#ifdef __STDC__
#define PIC_SYM(x,y) x ## ( ## y ## )
#define PIC_SYM(x,y) x
#endif
-#define RCSID(x) .section ".ident"; .asciz x
-
#define STRONG_ALIAS(alias,sym) \
.global alias; \
alias = sym
-/* $OpenBSD: asm.h,v 1.2 2017/06/23 09:55:10 mpi Exp $ */
+/* $OpenBSD: asm.h,v 1.3 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.4 2001/07/16 05:43:32 matt Exp $ */
/*
#define EENTRY(sym) .globl sym; sym:
#define EEND(sym)
-
-#define ASMSTR .asciz
-
#if defined(__ELF__) && defined(__PIC__)
#ifdef __STDC__
#define PIC_SYM(x,y) x ## ( ## y ## )
#define PIC_SYM(x,y) x
#endif
-#ifdef __ELF__
-#define RCSID(x) .section ".ident"; .asciz x
-#else
-#define RCSID(x) .text; .asciz x
-#endif
-
#ifdef __ELF__
#define STRONG_ALIAS(alias,sym) \
.global alias; \
-/* $OpenBSD: asm.h,v 1.14 2015/08/30 10:19:49 guenther Exp $ */
+/* $OpenBSD: asm.h,v 1.15 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.7 1994/10/27 04:15:56 cgd Exp $ */
/*-
#define ALTENTRY(name) .globl _C_LABEL(name); _C_LABEL(name):
-#define ASMSTR .asciz
-
-#define RCSID(x) .text; .asciz x
-
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
-/* $OpenBSD: asm.h,v 1.23 2017/01/21 14:45:29 visa Exp $ */
+/* $OpenBSD: asm.h,v 1.24 2017/06/29 17:36:16 deraadt Exp $ */
/*
* Copyright (c) 2001-2002 Opsycon AB (www.opsycon.se / www.opsycon.com)
9: .asciiz msg; \
.text
-#define ASMSTR(str) \
- .asciiz str; \
- .align 3
-
#define LOAD_XKPHYS(reg, cca) \
li reg, cca | 0x10; \
dsll reg, reg, 59
-/* $OpenBSD: asm.h,v 1.13 2017/06/23 09:55:10 mpi Exp $ */
+/* $OpenBSD: asm.h,v 1.14 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.1 1996/09/30 16:34:20 ws Exp $ */
/*
#define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE(y)
#define END(y) .size y, . - y
-#define ASMSTR .asciz
-
-#define RCSID(x) .text; .asciz x
-
#define STRONG_ALIAS(alias,sym) \
.global alias; .set alias,sym
#define WEAK_ALIAS(alias,sym) \
-/* $OpenBSD: asm.h,v 1.6 2017/06/23 09:55:10 mpi Exp $ */
+/* $OpenBSD: asm.h,v 1.7 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.25 2006/01/20 22:02:40 christos Exp $ */
/*-
#endif /* !PIC */
-
-#define ASMSTR .asciz
-
#define STRONG_ALIAS(alias,sym) \
.global _C_LABEL(alias); \
_C_LABEL(alias) = _C_LABEL(sym)
-/* $OpenBSD: asm.h,v 1.12 2017/06/23 09:55:10 mpi Exp $ */
+/* $OpenBSD: asm.h,v 1.13 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: asm.h,v 1.15 2000/08/02 22:24:39 eeh Exp $ */
/*
#define RODATA(name) .align 4; .text; .globl _C_LABEL(name); \
OTYPE(_C_LABEL(name)); _C_LABEL(name):
-
-#define ASMSTR .asciz
-
-#define RCSID(name) .asciz name
-
#define STRONG_ALIAS(alias,sym) \
.global alias; \
alias = sym
-/* $OpenBSD: dwc_gmac.c,v 1.7 2017/05/21 11:52:04 kettenis Exp $ */
+/* $OpenBSD: dwc_gmac.c,v 1.8 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc_gmac.c,v 1.34 2015/08/21 20:12:29 jmcneill Exp $ */
/*-
* http://www.synopsys.com/dw/ipdir.php?ds=dwc_ether_mac10_100_1000_unive
*/
-/*__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.34 2015/08/21 20:12:29 jmcneill Exp $");*/
-
/* #define DWC_GMAC_DEBUG 1 */
#include <sys/param.h>
-/* $OpenBSD: dwc2.c,v 1.45 2017/05/15 10:52:08 mpi Exp $ */
+/* $OpenBSD: dwc2.c,v 1.46 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $ */
/*-
* POSSIBILITY OF SUCH DAMAGE.
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $");
-#endif
-
#if 0
#include "opt_usb.h"
#endif
-/* $OpenBSD: dwc2_core.c,v 1.7 2017/01/29 16:44:11 stsp Exp $ */
+/* $OpenBSD: dwc2_core.c,v 1.8 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2_core.c,v 1.6 2014/04/03 06:34:58 skrll Exp $ */
/*
* Driver and the Peripheral Controller Driver.
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_core.c,v 1.6 2014/04/03 06:34:58 skrll Exp $");
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/types.h>
-/* $OpenBSD: dwc2_coreintr.c,v 1.9 2017/02/12 17:41:17 visa Exp $ */
+/* $OpenBSD: dwc2_coreintr.c,v 1.10 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2_coreintr.c,v 1.8 2014/04/04 05:40:57 skrll Exp $ */
/*
* This file contains the common interrupt handlers
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_coreintr.c,v 1.8 2014/04/04 05:40:57 skrll Exp $");
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-/* $OpenBSD: dwc2_hcd.c,v 1.18 2017/04/11 14:43:49 dhill Exp $ */
+/* $OpenBSD: dwc2_hcd.c,v 1.19 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2_hcd.c,v 1.15 2014/11/24 10:14:14 skrll Exp $ */
/*
* API
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_hcd.c,v 1.15 2014/11/24 10:14:14 skrll Exp $");
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/types.h>
-/* $OpenBSD: dwc2_hcdddma.c,v 1.12 2017/04/09 18:09:41 dhill Exp $ */
+/* $OpenBSD: dwc2_hcdddma.c,v 1.13 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2_hcdddma.c,v 1.6 2014/04/03 06:34:58 skrll Exp $ */
/*
/*
* This file contains the Descriptor DMA implementation for Host mode
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_hcdddma.c,v 1.6 2014/04/03 06:34:58 skrll Exp $");
-#endif
#include <sys/param.h>
#include <sys/systm.h>
-/* $OpenBSD: dwc2_hcdintr.c,v 1.8 2017/06/20 15:49:00 visa Exp $ */
+/* $OpenBSD: dwc2_hcdintr.c,v 1.9 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2_hcdintr.c,v 1.11 2014/11/24 10:14:14 skrll Exp $ */
/*
/*
* This file contains the interrupt handlers for Host mode
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_hcdintr.c,v 1.11 2014/11/24 10:14:14 skrll Exp $");
-#endif
#include <sys/param.h>
#include <sys/systm.h>
-/* $OpenBSD: dwc2_hcdqueue.c,v 1.7 2015/06/28 11:48:18 jmatthew Exp $ */
+/* $OpenBSD: dwc2_hcdqueue.c,v 1.8 2017/06/29 17:36:16 deraadt Exp $ */
/* $NetBSD: dwc2_hcdqueue.c,v 1.11 2014/09/03 10:00:08 skrll Exp $ */
/*
* Transfer Descriptors for Host mode
*/
-#if 0
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_hcdqueue.c,v 1.11 2014/09/03 10:00:08 skrll Exp $");
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/types.h>