Kernel: ISR will now crash userspace process instead of panicing kernel

This commit is contained in:
Bananymous
2023-05-28 20:53:10 +03:00
parent f04399c3a0
commit 833642d405
2 changed files with 18 additions and 2 deletions

View File

@@ -58,6 +58,9 @@ namespace Kernel
void set_in_syscall(bool b) { m_in_syscall = b; }
bool is_userspace() const { return m_is_userspace; }
bool is_in_syscall() const { return m_in_syscall; }
private:
Thread(pid_t tid, Process*);
void on_exit();