Lines Matching +full:self +full:- +full:working
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/hexagon/kernel/kgdb.c - Hexagon KGDB Support
5 * Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
18 * Keep these at three letters to pretty-print. */
92 return -EINVAL; in dbg_set_reg()
106 /* Not yet working */
120 gdb_regs[0] = thread_regs->r00; in sleeping_thread_to_gdb_regs()
124 * kgdb_arch_handle_exception - Handle architecture specific GDB packets.
135 * they are handled here. The code should return -1 if it wants to
139 * Not yet working.
151 return -1; in kgdb_arch_handle_exception()
157 if (atomic_read(&kgdb_active) != -1) { in __kgdb_notify()
158 kgdb_nmicallback(smp_processor_id(), args->regs); in __kgdb_notify()
162 if (user_mode(args->regs)) in __kgdb_notify()
165 if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, in __kgdb_notify()
166 args->regs)) in __kgdb_notify()
173 kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) in kgdb_notify() argument
189 * Lowest-prio notifier priority, we want to be notified last:
191 .priority = -INT_MAX,
195 * kgdb_arch_init - Perform any architecture specific initialization.
206 * kgdb_arch_exit - Perform any architecture specific uninitalization.