[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPIN
From: |
Peter Maydell |
Subject: |
Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO |
Date: |
Fri, 5 Mar 2021 22:54:18 +0000 |
On Fri, 5 Mar 2021 at 20:22, Keith Packard <keithp@keithp.com> wrote:
>
> Peter Maydell <peter.maydell@linaro.org> writes:
>
> > Also, you don't seem to have the correct "is the CPU in
> > 32-bit or 64-bit mode" test here: you cannot rely on target_ulong
> > being the right size, you must make a runtime check.
>
> Do you mean whether a dual aarch64/arm core is in arm or aarch64 mode,
> or whether an aarch64 is running a 32-bit ABI?
For semihosting for Arm what matters is "what state is the core
in at the point where it makes the semihosting SVC/HLT/etc insn?".
How does RISCV specify it?
thanks
-- PMM
- [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Alex Bennée, 2021/03/05
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Peter Maydell, 2021/03/05
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Keith Packard, 2021/03/05
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO,
Peter Maydell <=
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Keith Packard, 2021/03/05
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Richard Henderson, 2021/03/05
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Peter Maydell, 2021/03/06
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Keith Packard, 2021/03/06
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Peter Maydell, 2021/03/08
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Alistair Francis, 2021/03/08
- Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Keith Packard, 2021/03/08
Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO, Keith Packard, 2021/03/05