summaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/kgdb.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-02-23 10:47:20 +0300
committerChristoph Hellwig <hch@lst.de>2022-02-23 10:52:50 +0300
commit1c4b5ecb7ea190fa3e9f9d6891e6c90b60e04f24 (patch)
treea9444a92909dc4929e0d1e42301e1d3dbd16c35c /arch/h8300/include/asm/kgdb.h
parent5c1ee569660d4a205dced9cb4d0306b907fb7599 (diff)
downloadlinux-1c4b5ecb7ea190fa3e9f9d6891e6c90b60e04f24.tar.xz
remove the h8300 architecture
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/h8300/include/asm/kgdb.h')
-rw-r--r--arch/h8300/include/asm/kgdb.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/arch/h8300/include/asm/kgdb.h b/arch/h8300/include/asm/kgdb.h
deleted file mode 100644
index 726ff8fdfc18..000000000000
--- a/arch/h8300/include/asm/kgdb.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2015 Yoshinori Sato <ysato@users.sourceforge.jp>
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-
-#ifndef _ASM_H8300_KGDB_H
-#define _ASM_H8300_KGDB_H
-
-#define CACHE_FLUSH_IS_SAFE 1
-#define BUFMAX 2048
-
-enum regnames {
- GDB_ER0, GDB_ER1, GDB_ER2, GDB_ER3,
- GDB_ER4, GDB_ER5, GDB_ER6, GDB_SP,
- GDB_CCR, GDB_PC,
- GDB_CYCLLE,
-#if defined(CONFIG_CPU_H8S)
- GDB_EXR,
-#endif
- GDB_TICK, GDB_INST,
-#if defined(CONFIG_CPU_H8S)
- GDB_MACH, GDB_MACL,
-#endif
- /* do not change the last entry or anything below! */
- GDB_NUMREGBYTES, /* number of registers */
-};
-
-#define GDB_SIZEOF_REG sizeof(u32)
-#if defined(CONFIG_CPU_H8300H)
-#define DBG_MAX_REG_NUM (13)
-#elif defined(CONFIG_CPU_H8S)
-#define DBG_MAX_REG_NUM (14)
-#endif
-#define NUMREGBYTES (DBG_MAX_REG_NUM * GDB_SIZEOF_REG)
-
-#define BREAK_INSTR_SIZE 2
-static inline void arch_kgdb_breakpoint(void)
-{
- __asm__ __volatile__("trapa #2");
-}
-
-#endif /* _ASM_H8300_KGDB_H */