]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core/driver: Switch hypervisor to fixed virtual address layout
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 30 Jan 2014 11:16:55 +0000 (12:16 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Tue, 4 Feb 2014 17:05:15 +0000 (18:05 +0100)
commit30e7e8ef450762ce0c327837101e882d66208f87
treee95a9d036f64488d3832c39bef340481014eeaa5
parentddd99ea0be016362efe308ca82796042b5e9f2f6
core/driver: Switch hypervisor to fixed virtual address layout

Now that the driver always puts us at the same virtual address, we can
compile this into the hypervisor as well. On x86, we switch to the code
model "kernel", i.e. all virtual addresses have the higher 32 bits set.
This allows to drop -fpic and -fpie, the global offset table. And the
entry field in the header is now absolute.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/Makefile
hypervisor/arch/arm/include/asm/jailhouse_hypercall.h
hypervisor/arch/x86/apic.c
hypervisor/arch/x86/entry.S
hypervisor/arch/x86/include/asm/jailhouse_hypercall.h
hypervisor/hypervisor.lds.S
hypervisor/include/jailhouse/entry.h
hypervisor/include/jailhouse/header.h
hypervisor/setup.c
main.c