diff mbox series

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

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

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (6ae2ba655ca5e24b403a33bf15dff7261d3e7052)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs April 21, 2020, 4:16 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/hwunit.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alistair Popple April 30, 2020, 1:27 a.m. UTC | #1
Reviewed-by: Alistair Popple <alistair@popple.id.au>

On Tuesday, 21 April 2020 2:16:49 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
> ---
>  libpdbg/hwunit.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 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;
>  };
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;
 };