Re: [PATCH 1/7] semihosting: Allow optional use of semihosting from userspace

2022-08-17 Thread Alistair Francis
On Tue, Aug 16, 2022 at 5:03 AM Peter Maydell wrote: > > Currently our semihosting implementations generally prohibit use of > semihosting calls in system emulation from the guest userspace. This > is a very long standing behaviour justified originally "to provide > some semblance of security" (s

Re: [PATCH 1/7] semihosting: Allow optional use of semihosting from userspace

2022-08-16 Thread Alex Bennée
Peter Maydell writes: > Currently our semihosting implementations generally prohibit use of > semihosting calls in system emulation from the guest userspace. This > is a very long standing behaviour justified originally "to provide > some semblance of security" (since code with access to the >

Re: [PATCH 1/7] semihosting: Allow optional use of semihosting from userspace

2022-08-15 Thread Philippe Mathieu-Daudé via
On 15/8/22 21:02, Peter Maydell wrote: Currently our semihosting implementations generally prohibit use of semihosting calls in system emulation from the guest userspace. This is a very long standing behaviour justified originally "to provide some semblance of security" (since code with access t

[PATCH 1/7] semihosting: Allow optional use of semihosting from userspace

2022-08-15 Thread Peter Maydell
Currently our semihosting implementations generally prohibit use of semihosting calls in system emulation from the guest userspace. This is a very long standing behaviour justified originally "to provide some semblance of security" (since code with access to the semihosting ABI can do things like