diff mbox series

[v5,13/19] libpdbg: Add all thread procedures to pib target

Message ID 20200430023440.225504-14-amitay@ozlabs.org
State Accepted
Headers show
Series Add sbefifo backend | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch warning Failed to apply on branch master (6c10b68bf774a9fe21affd5ef0b40084cd49800d)
snowpatch_ozlabs/apply_patch fail Failed to apply to any branch

Commit Message

Amitay Isaacs April 30, 2020, 2:34 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
---
 libpdbg/hwunit.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/libpdbg/hwunit.h b/libpdbg/hwunit.h
index dd41da7..f5a7dff 100644
--- a/libpdbg/hwunit.h
+++ b/libpdbg/hwunit.h
@@ -94,6 +94,10 @@  struct pib {
 	struct pdbg_target target;
 	int (*read)(struct pib *, uint64_t, uint64_t *);
 	int (*write)(struct pib *, uint64_t, uint64_t);
+	int (*thread_start_all)(struct pib *);
+	int (*thread_stop_all)(struct pib *);
+	int (*thread_step_all)(struct pib *, int);
+	int (*thread_sreset_all)(struct pib *);
 	void *priv;
 	int fd;
 };