|
contur2
|
Interface for syscall handling. More...
#include <syscall_handler.h>
Public Member Functions | |
| virtual | ~ISyscallHandler ()=default |
| virtual Result< RegisterValue > | handle (SyscallId id, std::span< const RegisterValue > args, ProcessImage &caller)=0 |
| Handles a syscall request. | |
Interface for syscall handling.
Implementations execute kernel-side logic for a syscall and return register-compatible results.
Definition at line 21 of file syscall_handler.h.
|
virtualdefault |
|
nodiscardpure virtual |
Handles a syscall request.
| id | Syscall identifier. |
| args | Syscall arguments from user context. |
| caller | Calling process image. |