On Tue, 30 May 2023 at 15:46, Peter Maydell <peter.mayd...@linaro.org> wrote: > > On Tue, 30 May 2023 at 15:26, Yeqi Fu <fufuyqqq...@gmail.com> wrote: > > > > This patch introduces a set of feature instructions for native calls > > and provides helpers to translate these instructions to corresponding > > native functions. A shared library is also implemented, where native > > functions are rewritten as feature instructions. At runtime, user > > programs load the shared library, and feature instructions are > > executed when native functions are called. This patch is applicable > > to user programs with architectures x86, x86_64, arm, aarch64, mips, > > and mips64. To build, compile libnative.c into a shared library for > > the user program's architecture and run the > > '../configure --enable-user-native-call && make' command. > > So it's essentially providing a QEMU-specific ABI that > (somewhat similarly to semihosting) allows guest programs > to use particular instructions/instruction patterns to > say "do a memcpy/memset/memcmp" ? > > Is this an ABI that's implemented by anybody else?
Ah, I hadn't realised this was an Outreachy project. I'll let Alex work with you on iterating on this... thanks -- PMM