]> git.baikalelectronics.ru Git - kernel.git/commit
Introduce guest mem offset, static link example launcher
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 01:03:26 +0000 (11:03 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:50 +0000 (15:49 +1000)
commitec70d90b71d7d02da9f1b5464eb73ec80d955fd4
treef0d67890f6f8c9d0840c9b19a483ec06cbf822ef
parentf6fa333b2d77a5b7f1eef9a97cae518b665f4ce2
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>
Documentation/lguest/Makefile
Documentation/lguest/lguest.c
drivers/lguest/core.c
drivers/lguest/hypercalls.c
drivers/lguest/io.c
drivers/lguest/lg.h
drivers/lguest/lguest_user.c
drivers/lguest/page_tables.c