[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Using native libraries
From: |
Luke -Jr |
Subject: |
Re: [Qemu-devel] Using native libraries |
Date: |
Mon, 21 May 2007 18:06:37 -0500 |
User-agent: |
KMail/1.9.5 |
On Monday 21 May 2007 16:13, H. Peter Anvin wrote:
> The easiest way to do that is by having an "RPC stub library" in the
> emulated environment which contains nothing but trap instructions --
> like system calls -- that can be intercepted on the other side. At that
> point, one has to do translation of data types and pointers (called
> "thunking") before invoking the native library. Generating such
> "thunks" is usually done automatically, but it is still a fairly major
> effort.
But can it be done at the JIT stage?