[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] riscv: Make semihosting configurable for all privilege modes
From: |
Peter Maydell |
Subject: |
Re: [PATCH] riscv: Make semihosting configurable for all privilege modes |
Date: |
Sat, 13 Aug 2022 11:19:52 +0100 |
On Sat, 13 Aug 2022 at 01:53, Furquan Shaikh <furquan@rivosinc.com> wrote:
> I ran into a problem when I was testing a project (with a microkernel
> in M-mode and tasks in U-mode) that uses semihosting for debugging.
> The semihosting worked fine for M-mode but not in U-mode. As I started
> digging into this, I realized that this is because qemu restricts
> semihosting to only M and S modes.
Right. We should fix this by having a generic works-for-all-architectures
semihosting config knob, because this is not a riscv specific problem,
and we already have issues with different target architectures
developing their own solutions to things.
I'll see if I can dig out the half-done patchset I had for this.
thanks
-- PMM
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, (continued)
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Peter Maydell, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Richard Henderson, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Richard Henderson, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Furquan Shaikh, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Richard Henderson, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Furquan Shaikh, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Richard Henderson, 2022/08/12
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Furquan Shaikh, 2022/08/13
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes,
Peter Maydell <=
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Alistair Francis, 2022/08/14
- Re: [PATCH] riscv: Make semihosting configurable for all privilege modes, Furquan Shaikh, 2022/08/15