arch/loongarch/kvm/Makefile

Source file repositories/reference/linux-study-clean/arch/loongarch/kvm/Makefile

File Facts

System
Linux kernel
Corpus path
arch/loongarch/kvm/Makefile
Extension
[no extension]
Size
465 bytes
Lines
27
Domain
Architecture Layer
Bucket
arch/loongarch
Inferred role
Architecture Layer: build/configuration rule
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
#
# Makefile for LoongArch KVM support
#

include $(srctree)/virt/kvm/Makefile.kvm

obj-$(CONFIG_KVM) += kvm.o

obj-y += switch.o

kvm-y += exit.o
kvm-y += interrupt.o
kvm-y += main.o
kvm-y += mmu.o
kvm-y += timer.o
kvm-y += tlb.o
kvm-y += vcpu.o
kvm-y += vm.o
kvm-y += intc/ipi.o
kvm-y += intc/dmsintc.o
kvm-y += intc/eiointc.o
kvm-y += intc/pch_pic.o
kvm-y += irqfd.o

CFLAGS_exit.o	+= $(call cc-disable-warning, override-init)

Annotation

Implementation Notes