Kernel: Stack pointer is validated when updated
This allows us not to fail stack pointer when in syscall since interrupts use their own stack
This commit is contained in:
@@ -158,8 +158,6 @@ namespace Kernel
|
||||
current.set_rip(rip);
|
||||
current.set_rsp(rsp);
|
||||
|
||||
ASSERT(current.stack_base() <= rsp && rsp <= current.stack_base() + current.stack_size());
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user