1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org>
9 #ifndef __PARISC_KGDB_H__
10 #define __PARISC_KGDB_H__
12 #define BREAK_INSTR_SIZE 4
13 #define PARISC_KGDB_COMPILED_BREAK_INSN 0x3ffc01f
14 #define PARISC_KGDB_BREAK_INSN 0x3ffa01f
17 #define NUMREGBYTES sizeof(struct parisc_gdb_regs)
20 #define CACHE_FLUSH_IS_SAFE 1
24 static inline void arch_kgdb_breakpoint(void)
26 asm(".word %0" : : "i"(PARISC_KGDB_COMPILED_BREAK_INSN
) : "memory");
29 struct parisc_gdb_regs
{
30 unsigned long gpr
[32];
41 unsigned long __unused0
;