Interface for syscall handling.
virtual Result< RegisterValue > handle(SyscallId id, std::span< const RegisterValue > args, ProcessImage &caller)=0
Handles a syscall request.
virtual ~ISyscallHandler()=default
Full in-memory representation of a process.
A result type that holds either a success value of type T or an ErrorCode.
Error codes and Result<T> type for fallible operations.
SyscallId
Numeric identifiers for system calls.
Syscall IDs for the user-kernel boundary.
Common type aliases, sentinel constants, and forward declarations used throughout the Contur 2 kernel...