Message ID | 20200421041655.82856-20-amitay@ozlabs.org |
---|---|
State | Superseded |
Headers | show |
Series | Add sbefifo backend | expand |
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 |
Reviewed-by: Alistair Popple <alistair@popple.id.au> On Tuesday, 21 April 2020 2:16:55 PM AEST Amitay Isaacs wrote: > Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> > --- > src/main.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/main.c b/src/main.c > index 785dc26..5a5616d 100644 > --- a/src/main.c > +++ b/src/main.c > @@ -149,6 +149,7 @@ static void print_usage(void) > printf("\t\tRun command on all possible processors/chips/threads > (default)\n"); printf("\t-b, --backend=backend\n"); > printf("\t\tcronus:\tA backend based on cronus server\n"); > + printf("\t\tsbefifo:\tA backend using sbefifo kernel driver\n"); > printf("\t\tfsi:\tAn experimental backend that uses\n"); > printf("\t\t\tbit-banging to access the host processor\n"); > printf("\t\t\tvia the FSI bus.\n"); > @@ -392,6 +393,8 @@ static bool parse_options(int argc, char *argv[]) > backend = PDBG_BACKEND_HOST; > } else if (strcmp(optarg, "cronus") == 0) { > backend = PDBG_BACKEND_CRONUS; > + } else if (strcmp(optarg, "sbefifo") == 0) { > + backend = PDBG_BACKEND_SBEFIFO; > } else { > fprintf(stderr, "Invalid backend '%s'\n", optarg); > opt_error = true;
diff --git a/src/main.c b/src/main.c index 785dc26..5a5616d 100644 --- a/src/main.c +++ b/src/main.c @@ -149,6 +149,7 @@ static void print_usage(void) printf("\t\tRun command on all possible processors/chips/threads (default)\n"); printf("\t-b, --backend=backend\n"); printf("\t\tcronus:\tA backend based on cronus server\n"); + printf("\t\tsbefifo:\tA backend using sbefifo kernel driver\n"); printf("\t\tfsi:\tAn experimental backend that uses\n"); printf("\t\t\tbit-banging to access the host processor\n"); printf("\t\t\tvia the FSI bus.\n"); @@ -392,6 +393,8 @@ static bool parse_options(int argc, char *argv[]) backend = PDBG_BACKEND_HOST; } else if (strcmp(optarg, "cronus") == 0) { backend = PDBG_BACKEND_CRONUS; + } else if (strcmp(optarg, "sbefifo") == 0) { + backend = PDBG_BACKEND_SBEFIFO; } else { fprintf(stderr, "Invalid backend '%s'\n", optarg); opt_error = true;
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- src/main.c | 3 +++ 1 file changed, 3 insertions(+)