diff options
| author | 6eanut <jiakaiPeanut@gmail.com> | 2026-02-26 01:20:42 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-02-26 09:03:41 +0000 |
| commit | ffa542879cca228b4e5f1bea6ba8de94dfacb90d (patch) | |
| tree | cf69ca46c5e8ab387736516a6f46d75f96a6d3b9 /executor/common_kvm_syzos.h | |
| parent | cd152ea2d27f130f30f3d744e27dc398a8c463ee (diff) | |
executor: move common SYZOS API call descriptors to common_kvm_syzos.h
Diffstat (limited to 'executor/common_kvm_syzos.h')
| -rw-r--r-- | executor/common_kvm_syzos.h | 26 |
1 files changed, 26 insertions, 0 deletions
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 |
