Message ID | 20180601063050.19286-6-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Overhaul target selection | expand |
Reviewed-by: Alistair Popple <alistair@popple.id.au> On Friday, 1 June 2018 4:30:48 PM AEST Amitay Isaacs wrote: > Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> > --- > libpdbg/fake.c | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/libpdbg/fake.c b/libpdbg/fake.c > index ec03ccf..58e7e18 100644 > --- a/libpdbg/fake.c > +++ b/libpdbg/fake.c > @@ -64,3 +64,21 @@ static struct pib fake_pib = { > .write = fake_pib_write, > }; > DECLARE_HW_UNIT(fake_pib); > + > +static struct core fake_core = { > + .target = { > + .name = "Fake Core", > + .compatible = "ibm,fake-core", > + .class = "core", > + }, > +}; > +DECLARE_HW_UNIT(fake_core); > + > +static struct thread fake_thread = { > + .target = { > + .name = "Fake Thread", > + .compatible = "ibm,fake-thread", > + .class = "thread", > + }, > +}; > +DECLARE_HW_UNIT(fake_thread); >
diff --git a/libpdbg/fake.c b/libpdbg/fake.c index ec03ccf..58e7e18 100644 --- a/libpdbg/fake.c +++ b/libpdbg/fake.c @@ -64,3 +64,21 @@ static struct pib fake_pib = { .write = fake_pib_write, }; DECLARE_HW_UNIT(fake_pib); + +static struct core fake_core = { + .target = { + .name = "Fake Core", + .compatible = "ibm,fake-core", + .class = "core", + }, +}; +DECLARE_HW_UNIT(fake_core); + +static struct thread fake_thread = { + .target = { + .name = "Fake Thread", + .compatible = "ibm,fake-thread", + .class = "thread", + }, +}; +DECLARE_HW_UNIT(fake_thread);
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- libpdbg/fake.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)