contur2
Loading...
Searching...
No Matches
interrupt.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include <cstdint>
7
8namespace contur {
9
16 enum class Interrupt : std::int32_t
17 {
18 Ok = 0,
19 Error = -1,
22 PageFault = 14,
23 Exit = 16,
24 NetworkIO = 32,
25 Timer = 64,
26 DeviceIO = 254,
27 };
28
29} // namespace contur
Definition block.h:15
Interrupt
Interrupt codes used by the CPU and kernel.
Definition interrupt.h:17
@ PageFault
Page not present in physical memory.
Definition interrupt.h:22
@ SystemCall
Software interrupt — syscall entry.
Definition interrupt.h:21
@ Error
Generic error.
Definition interrupt.h:19
@ DeviceIO
Generic device I/O interrupt.
Definition interrupt.h:26
@ NetworkIO
Network I/O event.
Definition interrupt.h:24
@ Ok
No interrupt — normal execution.
Definition interrupt.h:18
@ DivByZero
Division by zero fault.
Definition interrupt.h:20
@ Timer
Timer tick interrupt (preemption).
Definition interrupt.h:25
@ Exit
Process requests termination.
Definition interrupt.h:23