Use __KERNEL_RCSID(). For these .S files, the following style was
adopted, a la .C files and <sys/cdefs.h>: * move <machine/asm.h> to the top * use __KERNEL_RCSID() immediately after it
This commit is contained in:
parent
93de86a41f
commit
a4914dc7f9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: acpi_wakeup_low.S,v 1.2 2007/12/09 20:27:44 jmcneill Exp $ */
|
||||
/* $NetBSD: acpi_wakeup_low.S,v 1.3 2007/12/11 23:06:11 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 Joerg Sonnenberger <joerg@netbsd.org>
|
||||
|
@ -28,8 +28,10 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.h"
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup_low.S,v 1.3 2007/12/11 23:06:11 lukem Exp $");
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
.text
|
||||
.p2align 2, 0x90
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bioscall.S,v 1.5 2005/12/11 12:17:41 christos Exp $ */
|
||||
/* $NetBSD: bioscall.S,v 1.6 2007/12/11 23:06:11 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -36,9 +36,10 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <machine/bioscall.h>
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bioscall.S,v 1.6 2007/12/11 23:06:11 lukem Exp $");
|
||||
|
||||
#include <machine/bioscall.h>
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: busfunc.S,v 1.3 2007/11/12 18:42:00 ad Exp $ */
|
||||
/* $NetBSD: busfunc.S,v 1.4 2007/12/11 23:06:11 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -37,6 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: busfunc.S,v 1.4 2007/12/11 23:06:11 lukem Exp $");
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: copy.S,v 1.12 2007/11/29 09:53:33 yamt Exp $ */
|
||||
/* $NetBSD: copy.S,v 1.13 2007/12/11 23:06:11 lukem Exp $ */
|
||||
/* NetBSD: locore.S,v 1.34 2005/04/01 11:59:31 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -71,11 +71,13 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: copy.S,v 1.13 2007/12/11 23:06:11 lukem Exp $");
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
#include <sys/errno.h>
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/frameasm.h>
|
||||
#include <machine/cputypes.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpufunc.S,v 1.3 2007/11/12 18:42:00 ad Exp $ */
|
||||
/* $NetBSD: cpufunc.S,v 1.4 2007/12/11 23:06:12 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -42,9 +42,11 @@
|
|||
* These are shared with NetBSD/xen.
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.4 2007/12/11 23:06:12 lukem Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/specialreg.h>
|
||||
#include <machine/segments.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: darwin_commpage_machdep.S,v 1.6 2007/11/12 18:42:00 ad Exp $ */
|
||||
/* $NetBSD: darwin_commpage_machdep.S,v 1.7 2007/12/11 23:06:12 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004 The NetBSD Foundation, Inc.
|
||||
|
@ -37,6 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: darwin_commpage_machdep.S,v 1.7 2007/12/11 23:06:12 lukem Exp $");
|
||||
|
||||
#include <compat/darwin/darwin_syscall.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: freebsd_sigcode.S,v 1.3 2005/12/11 12:17:41 christos Exp $ */
|
||||
/* $NetBSD: freebsd_sigcode.S,v 1.4 2007/12/11 23:06:12 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -70,13 +70,15 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: freebsd_sigcode.S,v 1.4 2007/12/11 23:06:12 lukem Exp $");
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#include <compat/freebsd/freebsd_syscall.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
/*
|
||||
* Signal trampoline; copied to top of user stack.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: i386func.S,v 1.2 2007/09/26 22:05:24 ad Exp $ */
|
||||
/* $NetBSD: i386func.S,v 1.3 2007/12/11 23:06:12 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -43,6 +43,8 @@
|
|||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: i386func.S,v 1.3 2007/12/11 23:06:12 lukem Exp $");
|
||||
|
||||
#include <machine/specialreg.h>
|
||||
#include <machine/segments.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ibcs2_sigcode.S,v 1.3 2005/12/11 12:17:41 christos Exp $ */
|
||||
/* $NetBSD: ibcs2_sigcode.S,v 1.4 2007/12/11 23:06:12 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -70,13 +70,15 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ibcs2_sigcode.S,v 1.4 2007/12/11 23:06:12 lukem Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_vm86.h"
|
||||
#endif
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <compat/ibcs2/ibcs2_syscall.h>
|
||||
|
||||
/* LINTSTUB: Var: char ibcs2_sigcode[1], ibcs2_esigcode[1]; */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: in_cksum.S,v 1.4 2006/02/03 14:40:03 rpaulo Exp $ */
|
||||
/* $NetBSD: in_cksum.S,v 1.5 2007/12/11 23:06:13 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -65,9 +65,11 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: in_cksum.S,v 1.5 2007/12/11 23:06:13 lukem Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include "assym.h"
|
||||
|
||||
/* LINTSTUB: include <sys/types.h> */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_sigcode.S,v 1.6 2005/12/11 12:17:41 christos Exp $ */
|
||||
/* $NetBSD: linux_sigcode.S,v 1.7 2007/12/11 23:06:13 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -70,14 +70,15 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_sigcode.S,v 1.7 2007/12/11 23:06:13 lukem Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_vm86.h"
|
||||
#endif
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
#include <compat/linux/linux_syscall.h>
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lock_stubs.S,v 1.10 2007/11/28 18:19:20 ad Exp $ */
|
||||
/* $NetBSD: lock_stubs.S,v 1.11 2007/12/11 23:06:13 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -43,11 +43,13 @@
|
|||
* alignment with 'objdump -d' after making changes.
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lock_stubs.S,v 1.11 2007/12/11 23:06:13 lukem Exp $");
|
||||
|
||||
#include "opt_multiprocessor.h"
|
||||
#include "opt_lockdebug.h"
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/cputypes.h>
|
||||
|
||||
#include "assym.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.S,v 1.58 2007/12/03 19:06:36 ad Exp $ */
|
||||
/* $NetBSD: locore.S,v 1.59 2007/12/11 23:06:13 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright-o-rama!
|
||||
|
@ -110,6 +110,9 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.59 2007/12/11 23:06:13 lukem Exp $");
|
||||
|
||||
#include "opt_compat_oldboot.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_realmem.h"
|
||||
|
@ -130,7 +133,6 @@
|
|||
#include <machine/trap.h>
|
||||
#include <machine/i82489reg.h>
|
||||
#include <machine/multiboot.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/frameasm.h>
|
||||
#include <machine/i82489reg.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mach_sigcode.S,v 1.9 2007/10/18 15:28:35 yamt Exp $ */
|
||||
/* $NetBSD: mach_sigcode.S,v 1.10 2007/12/11 23:06:14 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -70,6 +70,9 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_sigcode.S,v 1.10 2007/12/11 23:06:14 lukem Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_vm86.h"
|
||||
#endif
|
||||
|
@ -79,7 +82,6 @@
|
|||
#include <machine/segments.h>
|
||||
#include <machine/trap.h>
|
||||
#include <compat/mach/mach_syscall.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/frameasm.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mptramp.S,v 1.12 2007/11/14 14:45:12 ad Exp $ */
|
||||
/* $NetBSD: mptramp.S,v 1.13 2007/12/11 23:06:14 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -81,11 +81,13 @@
|
|||
* 2) halt the processors waiting for them to be enabled
|
||||
* by a idle-thread
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mptramp.S,v 1.13 2007/12/11 23:06:14 lukem Exp $");
|
||||
|
||||
#include "opt_mpbios.h" /* for MPDEBUG */
|
||||
|
||||
#include "assym.h"
|
||||
#include <machine/asm.h>
|
||||
#include <machine/specialreg.h>
|
||||
#include <machine/segments.h>
|
||||
#include <machine/mpbiosvar.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spl.S,v 1.22 2007/12/04 08:03:46 ad Exp $ */
|
||||
/* $NetBSD: spl.S,v 1.23 2007/12/11 23:06:14 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -36,10 +36,12 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: spl.S,v 1.23 2007/12/11 23:06:14 lukem Exp $");
|
||||
|
||||
#include "opt_vm86.h"
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/trap.h>
|
||||
#include <machine/segments.h>
|
||||
#include <machine/frameasm.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_sigcode.S,v 1.10 2007/10/18 15:28:36 yamt Exp $ */
|
||||
/* $NetBSD: svr4_sigcode.S,v 1.11 2007/12/11 23:06:14 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -70,6 +70,9 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: svr4_sigcode.S,v 1.11 2007/12/11 23:06:14 lukem Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_vm86.h"
|
||||
#include "opt_multiprocessor.h"
|
||||
|
@ -80,7 +83,6 @@
|
|||
#include <machine/segments.h>
|
||||
#include <machine/trap.h>
|
||||
#include <compat/svr4/svr4_syscall.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/frameasm.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vector.S,v 1.32 2007/12/03 20:21:33 ad Exp $ */
|
||||
/* $NetBSD: vector.S,v 1.33 2007/12/11 23:06:14 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 (c) Wasabi Systems, Inc.
|
||||
|
@ -71,6 +71,9 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vector.S,v 1.33 2007/12/11 23:06:14 lukem Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_multiprocessor.h"
|
||||
#include "opt_ipkdb.h"
|
||||
|
@ -79,7 +82,6 @@
|
|||
#include <machine/i8259.h>
|
||||
#include <machine/i82093reg.h>
|
||||
#include <machine/i82489reg.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/frameasm.h>
|
||||
#include <machine/segments.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pnpbioscall.S,v 1.1 2002/11/22 15:02:12 fvdl Exp $ */
|
||||
/* $NetBSD: pnpbioscall.S,v 1.2 2007/12/11 23:06:14 lukem Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1999
|
||||
* Matthias Drochner. All rights reserved.
|
||||
|
@ -25,8 +25,10 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.h"
|
||||
#include <machine/asm.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pnpbioscall.S,v 1.2 2007/12/11 23:06:14 lukem Exp $");
|
||||
|
||||
#include "assym.h"
|
||||
#include <machine/segments.h>
|
||||
|
||||
.data
|
||||
|
|
Loading…
Reference in New Issue