diff options
author | marcel <marcel@FreeBSD.org> | 2006-04-03 22:51:47 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-04-03 22:51:47 +0000 |
commit | 8278e2d5fbf3b90494b259664803d77b2c5c2a96 (patch) | |
tree | 981658ebfce6b57566091fd168aa6d3b3c08789c /sys/ia64 | |
parent | 8582a7eef54875ec23f28273f78836913636fa30 (diff) | |
download | FreeBSD-src-8278e2d5fbf3b90494b259664803d77b2c5c2a96.zip FreeBSD-src-8278e2d5fbf3b90494b259664803d77b2c5c2a96.tar.gz |
Eliminate HAVE_STOPPEDPCBS. On ia64 the PCPU holds a pointer to the
PCB in which the context of stopped CPUs is stored. To access this
PCB from KDB, we introduce a new define, called KDB_STOPPEDPCB. The
definition, when present, lives in <machine/kdb.h> and abstracts
where MD code saves the context. Define KDB_STOPPEDPCB on i386,
amd64, alpha and sparc64 in accordance to previous code.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/include/kdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/include/kdb.h b/sys/ia64/include/kdb.h index 700a0d7..500a909 100644 --- a/sys/ia64/include/kdb.h +++ b/sys/ia64/include/kdb.h @@ -33,6 +33,8 @@ #include <machine/frame.h> #include <machine/ia64_cpu.h> +#define KDB_STOPPEDPCB(pc) (pc)->pc_pcb + static __inline void kdb_cpu_clear_singlestep(void) { |