Home
last modified time | relevance | path

Searched hist:"9 c60766887c647df7193463f7a2075e8993b514c" (Results 1 – 3 of 3) sorted by relevance

/qemu/include/qemu/
H A Dmmap-alloc.h9c60766887c647df7193463f7a2075e8993b514c Thu Mar 02 02:36:11 UTC 2017 Alexey Kardashevskiy <aik@ozlabs.ru> exec, kvm, target-ppc: Move getrampagesize() to common code

getrampagesize() returns the largest supported page size and mainly
used to know if huge pages are enabled.

However is implemented in target-ppc/kvm.c and not available
in TCG or other architectures.

This renames and moves gethugepagesize() to mmap-alloc.c where
fd-based analog of it is already implemented. This renames and moves
getrampagesize() to exec.c as it seems to be the common place for
helpers like this.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/qemu/util/
H A Dmmap-alloc.c9c60766887c647df7193463f7a2075e8993b514c Thu Mar 02 02:36:11 UTC 2017 Alexey Kardashevskiy <aik@ozlabs.ru> exec, kvm, target-ppc: Move getrampagesize() to common code

getrampagesize() returns the largest supported page size and mainly
used to know if huge pages are enabled.

However is implemented in target-ppc/kvm.c and not available
in TCG or other architectures.

This renames and moves gethugepagesize() to mmap-alloc.c where
fd-based analog of it is already implemented. This renames and moves
getrampagesize() to exec.c as it seems to be the common place for
helpers like this.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/qemu/target/ppc/
H A Dkvm.c9c60766887c647df7193463f7a2075e8993b514c Thu Mar 02 02:36:11 UTC 2017 Alexey Kardashevskiy <aik@ozlabs.ru> exec, kvm, target-ppc: Move getrampagesize() to common code

getrampagesize() returns the largest supported page size and mainly
used to know if huge pages are enabled.

However is implemented in target-ppc/kvm.c and not available
in TCG or other architectures.

This renames and moves gethugepagesize() to mmap-alloc.c where
fd-based analog of it is already implemented. This renames and moves
getrampagesize() to exec.c as it seems to be the common place for
helpers like this.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>