Skip to content
Snippets Groups Projects
Commit 3c6b5bfa authored by Rusty Russell's avatar Rusty Russell
Browse files

Introduce guest mem offset, static link example launcher


In order to avoid problematic special linking of the Launcher, we give
the Host an offset: this means we can use any memory region in the
Launcher as Guest memory rather than insisting on mmap() at 0.

The result is quite pleasing: a number of casts are replaced with
simple additions.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 6649bb7a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment