![]() |
Contur 2
Educational OS kernel simulator
|
Register conventions for system call dispatch. More...
Go to the source code of this file.
Namespaces | |
| namespace | contur |
Variables | |
| constexpr std::uint8_t | contur::SYSCALL_ID_REGISTER = static_cast<std::uint8_t>(Register::R0) |
| Register used to pass syscall id and receive return value. | |
| constexpr std::array< std::uint8_t, 4 > | contur::SYSCALL_ARG_REGISTERS |
| Registers used to pass syscall arguments. | |
| constexpr std::uint8_t | contur::SYSCALL_STATUS_REGISTER = static_cast<std::uint8_t>(Register::R7) |
| Register used to store syscall status/error code. | |
Register conventions for system call dispatch.
Definition in file syscall_conventions.h.