Lines Matching refs:hyp
23 hyp-obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \
24 hyp-main.o hyp-smp.o psci-relay.o early_alloc.o page_alloc.o \
26 hyp-obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
27 ../fpsimd.o ../hyp-entry.o ../exception.o ../pgtable.o
28 hyp-obj-$(CONFIG_LIST_HARDENED) += list_debug.o
29 hyp-obj-y += $(lib-objs)
32 ## Build rules for compiling nVHE hyp code
34 ## file containing all nVHE hyp code and data.
37 hyp-obj := $(patsubst %.o,%.nvhe.o,$(hyp-obj-y))
39 targets += $(hyp-obj) kvm_nvhe.tmp.o kvm_nvhe.rel.o hyp.lds hyp-reloc.S hyp-reloc.o
49 $(obj)/hyp.lds: $(src)/hyp.lds.S FORCE
53 # Prefixes names of ELF sections with '.hyp', eg. '.hyp.text'.
55 # the list of dependencies to form '-T $(obj)/hyp.lds'. This is to
59 $(obj)/kvm_nvhe.tmp.o: $(obj)/hyp.lds $(addprefix $(obj)/,$(hyp-obj)) FORCE
62 # 4) Generate list of hyp code/data positions that need to be relocated at
64 # produce a kernel VA. We enumerate relocations targeting hyp at build time
65 # and convert the kernel VAs at those positions to hyp VAs.
66 $(obj)/hyp-reloc.S: $(obj)/kvm_nvhe.tmp.o $(obj)/gen-hyprel FORCE
69 # 5) Compile hyp-reloc.S and link it into the existing partially linked object.
70 # The object file now contains a section with pointers to hyp positions that
72 # so that they get updated as the hyp object is linked into `vmlinux`.
74 $(obj)/kvm_nvhe.rel.o: $(obj)/kvm_nvhe.tmp.o $(obj)/hyp-reloc.o FORCE
83 # a list of relocations targeting hyp code/data.