]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Redefine PAGE_FLAG_UNCACHED to PAGE_FLAG_DEVICE
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 12 Oct 2014 14:13:49 +0000 (16:13 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Jan 2015 12:01:23 +0000 (13:01 +0100)
commit3c73567dce7f8c213afdc8873ceb33dacfb4f0f8
tree09baf9b8e86785ff910b779fdf97db86f515af74
parenta3923c0df8b889ffd30b4361509a22bb0f373a84
core: Redefine PAGE_FLAG_UNCACHED to PAGE_FLAG_DEVICE

All (x86) users of this page flag map devices into the hypervisor
address space. We will do the same for ARM when mapping the debug UART.
For this we need a generic flag with the same semantics. As uncached is
different from device mappings, redefine the semantic of UNCACHED flag
for this purpose.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/include/asm/paging.h
hypervisor/arch/x86/apic.c
hypervisor/arch/x86/include/asm/paging.h
hypervisor/arch/x86/ioapic.c
hypervisor/arch/x86/svm.c
hypervisor/arch/x86/vtd.c
hypervisor/pci.c