Re: [PATCH v2 1/3] lib: Add common semihosting library

2022-09-19 Thread Kautuk Consul
Thanks for spotting that. There was a config option selection that I was trying to avoid. Will send out a v3 patch with your suggestions. On Sat, Sep 17, 2022 at 11:10 PM Sean Anderson wrote: > > On 9/16/22 04:12, Kautuk Consul wrote: > > We factor out the arch-independent parts of the ARM

Re: [PATCH v2 1/3] lib: Add common semihosting library

2022-09-17 Thread Sean Anderson
On 9/16/22 04:12, Kautuk Consul wrote: We factor out the arch-independent parts of the ARM semihosting implementation as a common library so that it can be shared with RISC-V. Signed-off-by: Kautuk Consul --- arch/arm/Kconfig | 2 + arch/arm/lib/semihosting.c | 179

[PATCH v2 1/3] lib: Add common semihosting library

2022-09-16 Thread Kautuk Consul
We factor out the arch-independent parts of the ARM semihosting implementation as a common library so that it can be shared with RISC-V. Signed-off-by: Kautuk Consul --- arch/arm/Kconfig | 2 + arch/arm/lib/semihosting.c | 179 +--