commit | 3c6b5bfa3cf3b4057788e08482a468cc3bc00780 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Oct 22 11:03:26 2007 +1000 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Oct 23 15:49:50 2007 +1000 |
tree | f0d67890f6f8c9d0840c9b19a483ec06cbf822ef | |
parent | 6649bb7af6a819b675bfcf22ab704737e905645a [diff] |
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: Rusty Russell <rusty@rustcorp.com.au>