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/alpha | |
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/alpha')
-rw-r--r-- | sys/alpha/include/kdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/kdb.h b/sys/alpha/include/kdb.h index ded9cd6..fb08d4b 100644 --- a/sys/alpha/include/kdb.h +++ b/sys/alpha/include/kdb.h @@ -31,6 +31,8 @@ #include <machine/frame.h> +#define KDB_STOPPEDPCB(pc) &stoppcbs[pc->pc_cpuid] + static __inline void kdb_cpu_clear_singlestep(void) { |