diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-16 19:52:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-16 19:52:12 +0000 |
commit | 32c79ec92d7da713f4e44bb1b987af121011c453 (patch) | |
tree | 0f1265e0ffecbf8432b2cfb8aa160e1166608fc9 /sys/arch | |
parent | 0140c6b64701e5ae440d727eb7bd858b990a9208 (diff) |
Remove orphaned files.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m68k/include/asm_single.h | 59 | ||||
-rw-r--r-- | sys/arch/m68k/include/sysctl.h | 23 |
2 files changed, 0 insertions, 82 deletions
diff --git a/sys/arch/m68k/include/asm_single.h b/sys/arch/m68k/include/asm_single.h deleted file mode 100644 index e362f2f933f..00000000000 --- a/sys/arch/m68k/include/asm_single.h +++ /dev/null @@ -1,59 +0,0 @@ -/* $OpenBSD: asm_single.h,v 1.3 2001/01/15 19:50:37 deraadt Exp $ */ -/* $NetBSD: asm_single.h,v 1.1 1996/09/16 06:03:58 leo Exp $ */ - -/* - * Copyright (c) 1996 Leo Weppelman. - * All rights reserved. - * - * 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 Leo Weppelman. - * 4. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. - */ - -#ifndef _M68K_ASM_SINGLE_H -#define _M68K_ASM_SINGLE_H -/* - * Provide bit manipulation macro's that resolve to a single instruction. - * These can be considered atomic on single processor architectures when - * no page faults can occur when acessing <var>. - * Their primary use is to avoid race conditions when manipulating device - * registers. - */ - -#define single_inst_bset_b(var, bit) \ - __asm__ __volatile__ ("orb %0,%1" : : "di" ((u_char)bit), "g" (var)) -#define single_inst_bclr_b(var, bit) \ - __asm__ __volatile__ ("andb %0,%1" : : "di" ((u_char)~(bit)), "g" (var)); - -#define single_inst_bset_w(var, bit) \ - __asm__ __volatile__ ("orw %0,%1" : : "di" ((u_short)bit), "g" (var)) -#define single_inst_bclr_w(var, bit) \ - __asm__ __volatile__ ("andw %0,%1" : : "di" ((u_short)~(bit)), "g" (var)); - -#define single_inst_bset_l(var, bit) \ - __asm__ __volatile__ ("orl %0,%1" : : "di" ((u_long)bit), "g" (var)) -#define single_inst_bclr_l(var, bit) \ - __asm__ __volatile__ ("andl %0,%1" : : "di" ((u_long)~(bit)), "g" (var)); - -#endif /* _M68K_ASM_SINGLE_H */ diff --git a/sys/arch/m68k/include/sysctl.h b/sys/arch/m68k/include/sysctl.h deleted file mode 100644 index cacb3661d77..00000000000 --- a/sys/arch/m68k/include/sysctl.h +++ /dev/null @@ -1,23 +0,0 @@ -/* $OpenBSD: sysctl.h,v 1.4 2001/07/04 08:36:27 niklas Exp $ */ -/* $NetBSD: sysctl.h,v 1.1 1996/12/17 19:26:51 gwr Exp $ */ - -/* - * CTL_MACHDEP definitions. (Common to all m68k ports.) - * This should be included by each m68k port's cpu.h so - * /usr/sbin/sysctl can be shared on all of them. - */ -#ifndef CTL_MACHDEP_NAMES - -#define CPU_CONSDEV 1 /* dev_t: console terminal device */ -#define CPU_ROOT_DEVICE 2 /* string: root device name */ -#define CPU_BOOTED_KERNEL 3 /* string: booted kernel name */ -#define CPU_MAXID 4 /* number of valid machdep ids */ - -#define CTL_MACHDEP_NAMES { \ - { 0, 0 }, \ - { "console_device", CTLTYPE_STRUCT }, \ - { "root_device", CTLTYPE_STRING }, \ - { "booted_kernel", CTLTYPE_STRING }, \ -} - -#endif /* CTL_MACHDEP_NAMES */ |