Re: [RFC] Native Library Calls

2023-05-31 Thread Warner Losh
On Wed, May 31, 2023 at 1:55 AM Alex Bennée wrote: > > Yeqi Fu writes: > > > 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 > >

Re: [RFC] Native Library Calls

2023-05-31 Thread LIU Zhiwei
On 2023/5/31 15:59, Alex Bennée wrote: LIU Zhiwei writes: On 2023/5/30 22:24, Yeqi Fu 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, whe

Re: [RFC] Native Library Calls

2023-05-31 Thread Alex Bennée
Yeqi Fu writes: > 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, us

Re: [RFC] Native Library Calls

2023-05-31 Thread Alex Bennée
LIU Zhiwei writes: > On 2023/5/30 22:24, Yeqi Fu 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 rewri

Re: [RFC] Native Library Calls

2023-05-31 Thread Alex Bennée
Yeqi Fu writes: > 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, us

Re: [RFC] Native Library Calls

2023-05-30 Thread LIU Zhiwei
On 2023/5/30 22:24, Yeqi Fu 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

Re: [RFC] Native Library Calls

2023-05-30 Thread Peter Maydell
On Tue, 30 May 2023 at 15:46, Peter Maydell wrote: > > On Tue, 30 May 2023 at 15:26, Yeqi Fu 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

Re: [RFC] Native Library Calls

2023-05-30 Thread Peter Maydell
On Tue, 30 May 2023 at 15:26, Yeqi Fu 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

[RFC] Native Library Calls

2023-05-30 Thread Yeqi Fu
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