Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178139031
D15986.1796084812.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
870 B
Referenced Files
None
Subscribers
None
D15986.1796084812.diff
View Options
Index: sys/powerpc/include/kdb.h
===================================================================
--- sys/powerpc/include/kdb.h
+++ sys/powerpc/include/kdb.h
@@ -40,6 +40,8 @@
void kdb_cpu_clear_singlestep(void);
void kdb_cpu_set_singlestep(void);
+#define KDB_STOPPEDPCB(pc) &stoppcbs[pc->pc_cpuid]
+
static __inline void
kdb_cpu_sync_icache(unsigned char *addr, size_t size)
{
Index: sys/powerpc/include/smp.h
===================================================================
--- sys/powerpc/include/smp.h
+++ sys/powerpc/include/smp.h
@@ -42,6 +42,7 @@
#ifndef LOCORE
+#include <machine/pcb.h>
#include <sys/_cpuset.h>
void ipi_all_but_self(int ipi);
@@ -59,6 +60,8 @@
void cpudep_ap_setup(void);
void machdep_ap_bootstrap(void);
+extern struct pcb stoppcbs[];
+
#endif /* !LOCORE */
#endif /* _KERNEL */
#endif /* !_MACHINE_SMP_H */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 1, 12:26 AM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42115554
Default Alt Text
D15986.1796084812.diff (870 B)
Attached To
Mode
D15986: Expose stopped cpu contexts to ddb on PowerPC
Attached
Detach File
Event Timeline