about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-26 19:03:24 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-26 19:03:24 +0000
commitde4242aca8ff03f8afd3affaff7b9d986e469390 (patch)
tree4a382623aac8928f2d0cd0b974a613dad8e4e90d
parent416e37e8d142b4616dc65e3447db531c34e1ab0b (diff)
downloadfocaccia-de4242aca8ff03f8afd3affaff7b9d986e469390.tar.gz
focaccia-de4242aca8ff03f8afd3affaff7b9d986e469390.zip
Emulate eventfd interface
-rw-r--r--src/focaccia/qemu/x86.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py
index 360ea59..90864b4 100644
--- a/src/focaccia/qemu/x86.py
+++ b/src/focaccia/qemu/x86.py
@@ -96,6 +96,8 @@ emulated_system_calls = {
     232: SyscallInfo('epoll_wait', patchup_address_registers=['rsi']),
     233: SyscallInfo('epoll_ctl', patchup_address_registers=['r10']),
     281: SyscallInfo('epoll_pwait', patchup_address_registers=['rsi', 'r8']),
+    284: SyscallInfo('eventfd'),
+    290: SyscallInfo('eventfd2'),
     297: SyscallInfo('rt_tgsigqueueinfo', patchup_address_registers=['r10']),
     318: SyscallInfo('getrandom', patchup_address_registers=['rdi'])
 }