summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-07-02 23:37:14 +0000
committermarcel <marcel@FreeBSD.org>2014-07-02 23:37:14 +0000
commite7195b2eb0e74548094085601f0eb8e0a0c5f09f (patch)
tree7590e19416f631820ce7c75093b46def1ff6dc46 /sys/ia64/include
parente507d756a8702cfef68af0a8ae8b150bbfdfbf06 (diff)
downloadFreeBSD-src-e7195b2eb0e74548094085601f0eb8e0a0c5f09f.zip
FreeBSD-src-e7195b2eb0e74548094085601f0eb8e0a0c5f09f.tar.gz
MFC r263254: Move the implementation of kdb_cpu_trap() from <machine/kdb.h>
to machdep.c.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r--sys/ia64/include/kdb.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/ia64/include/kdb.h b/sys/ia64/include/kdb.h
index 8a9cc3a..0304f51 100644
--- a/sys/ia64/include/kdb.h
+++ b/sys/ia64/include/kdb.h
@@ -35,6 +35,8 @@
#define KDB_STOPPEDPCB(pc) (&(pc)->pc_md.pcb)
+void kdb_cpu_trap(int, int);
+
static __inline void
kdb_cpu_clear_singlestep(void)
{
@@ -62,14 +64,4 @@ kdb_cpu_sync_icache(unsigned char *addr, size_t size)
}
}
-static __inline void
-kdb_cpu_trap(int vector, int _)
-{
- __asm __volatile("flushrs;;");
-
- if (vector == IA64_VEC_BREAK &&
- kdb_frame->tf_special.ifa == IA64_FIXED_BREAK)
- kdb_frame->tf_special.psr += IA64_PSR_RI_1;
-}
-
#endif /* _MACHINE_KDB_H_ */
OpenPOWER on IntegriCloud