From ffa542879cca228b4e5f1bea6ba8de94dfacb90d Mon Sep 17 00:00:00 2001 From: 6eanut Date: Thu, 26 Feb 2026 01:20:42 +0000 Subject: executor: move common SYZOS API call descriptors to common_kvm_syzos.h --- executor/common_kvm_syzos.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'executor/common_kvm_syzos.h') diff --git a/executor/common_kvm_syzos.h b/executor/common_kvm_syzos.h index 096ff2556..6dc75be36 100644 --- a/executor/common_kvm_syzos.h +++ b/executor/common_kvm_syzos.h @@ -53,4 +53,30 @@ // Start/end of the guest section. extern char *__start_guest, *__stop_guest; +// Common SYZOS API call descriptors. +struct api_call_header { + uint64 call; + uint64 size; +}; + +struct api_call_1 { + struct api_call_header header; + uint64 arg; +}; + +struct api_call_2 { + struct api_call_header header; + uint64 args[2]; +}; + +struct api_call_3 { + struct api_call_header header; + uint64 args[3]; +}; + +struct api_call_5 { + struct api_call_header header; + uint64 args[5]; +}; + #endif // EXECUTOR_COMMON_KVM_SYZOS_H -- cgit mrf-deployment