1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Interrupts: Assert if trying to install an handler on syscall vector

Installing an interrupt handler on the syscall IDT vector can lead to
fatal results, so we must assert if that happens.
This commit is contained in:
Liav A 2020-03-14 20:19:38 +02:00 committed by Andreas Kling
parent f86be46c98
commit dbc536e917
3 changed files with 6 additions and 1 deletions

View file

@ -32,6 +32,8 @@
# include <LibC/fd_set.h>
#endif
constexpr int syscall_vector = 0x82;
extern "C" {
struct timeval;
struct timespec;