Re: [RFC v1 34/42] configs: riscv: qemu: add system configs
On 27/06/2022 15:36, Jan Kiszka wrote: On 27.06.22 15:28, Ralf Ramsauer wrote: Signed-off-by: Ralf Ramsauer --- configs/riscv/qemu-riscv64.c | 218 +-- include/jailhouse/console.h | 1 + 2 files changed, 211 insertions(+), 8 deletions(-) ... diff --git a/include/jailhouse/console.h b/include/jailhouse/console.h index 34dd7209..0b6c558b 100644 --- a/include/jailhouse/console.h +++ b/include/jailhouse/console.h @@ -50,6 +50,7 @@ #define JAILHOUSE_CON_TYPE_SCIFA 0x0007 #define JAILHOUSE_CON_TYPE_IMX0x0008 #define JAILHOUSE_CON_TYPE_IMX_LPUART 0x0009 +#define JAILHOUSE_CON_TYPE_RISCV_SBI 0x000a /* Flags: bit 0 is used to select PIO (cleared) or MMIO (set) access */ #define JAILHOUSE_CON_ACCESS_PIO 0x This is likely needed earlier in order to allow building things. Hmm, I checked that every commit compiles. So in fact there's no user of JAILHOUSE_CON_TYPE_RISCV_SBI. This is still missing in dbg-write.c. Will fix it. Thanks Ralf -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/d1aa2611-081c-cac5-fe9d-06000a53754c%40oth-regensburg.de.
Re: [RFC v1 34/42] configs: riscv: qemu: add system configs
On 27.06.22 15:28, Ralf Ramsauer wrote: > Signed-off-by: Ralf Ramsauer > --- > configs/riscv/qemu-riscv64.c | 218 +-- > include/jailhouse/console.h | 1 + > 2 files changed, 211 insertions(+), 8 deletions(-) > ... > diff --git a/include/jailhouse/console.h b/include/jailhouse/console.h > index 34dd7209..0b6c558b 100644 > --- a/include/jailhouse/console.h > +++ b/include/jailhouse/console.h > @@ -50,6 +50,7 @@ > #define JAILHOUSE_CON_TYPE_SCIFA 0x0007 > #define JAILHOUSE_CON_TYPE_IMX 0x0008 > #define JAILHOUSE_CON_TYPE_IMX_LPUART0x0009 > +#define JAILHOUSE_CON_TYPE_RISCV_SBI 0x000a > > /* Flags: bit 0 is used to select PIO (cleared) or MMIO (set) access */ > #define JAILHOUSE_CON_ACCESS_PIO 0x This is likely needed earlier in order to allow building things. Jan -- Siemens AG, Technology Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/d85ed09a-9979-c40c-9b15-ba68187ab22f%40siemens.com.