summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/armv7/armv7reg.h1
-rw-r--r--sys/arch/arm64/include/internal_types.h10
-rw-r--r--sys/arch/i386/stand/libsa/cpuprobe.h24
-rw-r--r--sys/arch/sh/include/sh_opcode.h163
4 files changed, 0 insertions, 198 deletions
diff --git a/sys/arch/arm/armv7/armv7reg.h b/sys/arch/arm/armv7/armv7reg.h
deleted file mode 100644
index ef901d1c284..00000000000
--- a/sys/arch/arm/armv7/armv7reg.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MPHONE_INTCTL_BASE 0
diff --git a/sys/arch/arm64/include/internal_types.h b/sys/arch/arm64/include/internal_types.h
deleted file mode 100644
index cf6d14f08c0..00000000000
--- a/sys/arch/arm64/include/internal_types.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* $OpenBSD: internal_types.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ */
-/* Public domain */
-#ifndef _MACHINE_INTERNAL_TYPES_H_
-#define _MACHINE_INTERNAL_TYPES_H_
-
-#ifdef __CHAR_UNSIGNED__
-#define __machine_has_unsigned_chars
-#endif
-
-#endif
diff --git a/sys/arch/i386/stand/libsa/cpuprobe.h b/sys/arch/i386/stand/libsa/cpuprobe.h
deleted file mode 100644
index 6df42b3d4df..00000000000
--- a/sys/arch/i386/stand/libsa/cpuprobe.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* $OpenBSD: cpuprobe.h,v 1.1 2004/06/26 05:19:37 tom Exp $ */
-
-/*
- * Copyright (c) 2004 Tom Cosgrove <tom.cosgrove@arches-consulting.com>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-#ifndef _CPUPROBE_H
-#define _CPUPROBE_H
-
-void dump_cpuinfo(void);
-
-#endif /* _CPUPROBE_H */
diff --git a/sys/arch/sh/include/sh_opcode.h b/sys/arch/sh/include/sh_opcode.h
deleted file mode 100644
index 3a867db8e98..00000000000
--- a/sys/arch/sh/include/sh_opcode.h
+++ /dev/null
@@ -1,163 +0,0 @@
-/* $OpenBSD: sh_opcode.h,v 1.1 2006/10/06 21:02:55 miod Exp $ */
-/* $NetBSD: sh_opcode.h,v 1.3 2002/04/28 17:10:36 uch Exp $ */
-
-typedef union {
- unsigned word;
-
-#if _BYTE_ORDER == BIG_ENDIAN
- struct {
- unsigned op: 16;
- } oType;
-
- struct {
- unsigned op1: 4;
- unsigned n: 4;
- unsigned op2: 8;
- } nType;
-
- struct {
- unsigned op1: 4;
- unsigned m: 4;
- unsigned op2: 8;
- } mType;
-
- struct {
- unsigned op1: 4;
- unsigned n: 4;
- unsigned m: 4;
- unsigned op2: 4;
- } nmType;
-
- struct {
- unsigned op: 8;
- unsigned m: 4;
- unsigned d: 4;
- } mdType;
-
- struct {
- unsigned op: 8;
- unsigned n: 4;
- unsigned d: 4;
- } nd4Type;
-
- struct {
- unsigned op: 4;
- unsigned n: 4;
- unsigned m: 4;
- unsigned d: 4;
- } nmdType;
-
- struct {
- unsigned op: 8;
- unsigned d: 8;
- } dType;
-
- struct {
- unsigned op: 4;
- unsigned d: 12;
- } d12Type;
-
- struct {
- unsigned op: 4;
- unsigned n: 4;
- unsigned d: 8;
- } nd8Type;
-
- struct {
- unsigned op: 8;
- unsigned i: 8;
- } iType;
-
- struct {
- unsigned op: 4;
- unsigned n: 4;
- unsigned i: 8;
- } niType;
-#endif
-#if _BYTE_ORDER == LITTLE_ENDIAN
-struct {
- unsigned op: 16;
- } oType;
-
- struct {
- unsigned op2: 8;
- unsigned n: 4;
- unsigned op1: 4;
- } nType;
-
- struct {
- unsigned op2: 8;
- unsigned m: 4;
- unsigned op1: 4;
- } mType;
-
- struct {
- unsigned op2: 4;
- unsigned m: 4;
- unsigned n: 4;
- unsigned op1: 4;
- } nmType;
-
- struct {
- unsigned d: 4;
- unsigned m: 4;
- unsigned op: 8;
- } mdType;
-
- struct {
- unsigned d: 4;
- unsigned n: 4;
- unsigned op: 8;
- } nd4Type;
-
- struct {
- unsigned d: 4;
- unsigned m: 4;
- unsigned n: 4;
- unsigned op: 4;
- } nmdType;
-
- struct {
- unsigned d: 8;
- unsigned op: 8;
- } dType;
-
- struct {
- unsigned d: 12;
- unsigned op: 4;
- } d12Type;
-
- struct {
- unsigned d: 8;
- unsigned n: 4;
- unsigned op: 4;
- } nd8Type;
-
- struct {
- unsigned i: 8;
- unsigned op: 8;
- } iType;
-
- struct {
- unsigned i: 8;
- unsigned n: 4;
- unsigned op: 4;
- } niType;
-#endif
-} InstFmt;
-
-#define OP_BF 0x8b
-#define OP_BFS 0x8f
-#define OP_BT 0x89
-#define OP_BTS 0x8d
-#define OP_BRA 0xa
-#define OP_BSR 0xb
-#define OP1_BRAF 0x0
-#define OP2_BRAF 0x23
-#define OP1_BSRF 0x0
-#define OP2_BSRF 0x03
-#define OP1_JMP 0x4
-#define OP2_JMP 0x2b
-#define OP1_JSR 0x4
-#define OP2_JSR 0x0b
-#define OP_RTS 0xffff