From 89418520e59f2957dbb192c9db4eb45f108459a4 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 8 Aug 2024 17:12:18 +0200 Subject: executor: pkg/vminfo: sys/linux: define syz_kvm_vgic_v3_setup The new pseudo-syscall sets up VGICv3 IRQ controller on the host. That still requires guest setup code, which will be submitted separately. --- executor/kvm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'executor/kvm.h') diff --git a/executor/kvm.h b/executor/kvm.h index a66aa6727..32fda309d 100644 --- a/executor/kvm.h +++ b/executor/kvm.h @@ -76,6 +76,9 @@ #define NEXT_INSN $0xbadc0de #define PREFIX_SIZE 0xba1d +// GICv3 distributor/redistributor addresses. +#define ARM64_ADDR_GICD_BASE 0x08000000 +#define ARM64_ADDR_GICR_BASE 0x080A0000 // Write to this page to trigger a page fault and stop KVM_RUN. #define ARM64_ADDR_EXIT 0xdddd0000 // Dedicated address within the exit page for the uexit command. -- cgit mrf-deployment