1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
7 #include <asm/ptrace.h>
10 void trap_handler (struct pt_regs *regs)
12 /* Just issue warning */
13 printf ("\n\n*** WARNING: unimplemented trap @ %08x\n\n",
17 void soft_emulation (struct pt_regs *regs)
19 /* TODO: Software emulation of mul/div etc. Until this is
20 * implemented, generate warning and hang.
22 printf ("\n\n*** ERROR: unimplemented instruction @ %08x\n",