mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
9dd921cfea
This introduces a set of core-provided hooks. For 440, some of these are implemented by booke.c, with the rest in (the new) 44x.c. Note that these hooks are link-time, not run-time. Since it is not possible to build a single kernel for both e500 and 440 (for example), using function pointers would only add overhead. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
18 lines
473 B
Makefile
18 lines
473 B
Makefile
#
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
#
|
|
|
|
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/powerpc/kvm
|
|
|
|
common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
|
|
|
|
common-objs-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
|
|
|
|
kvm-objs := $(common-objs-y) powerpc.o emulate.o
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
|
|
AFLAGS_booke_interrupts.o := -I$(obj)
|
|
|
|
kvm-440-objs := booke.o booke_interrupts.o 44x.o 44x_tlb.o
|
|
obj-$(CONFIG_KVM_440) += kvm-440.o
|