mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
Kernel: Remove a comment that has been stale since 7a64f55c0f
This commit is contained in:
parent
b0aa8115c2
commit
96ff0971ea
1 changed files with 0 additions and 3 deletions
|
@ -614,9 +614,6 @@ void Thread::push_value_on_stack(FlatPtr value)
|
|||
|
||||
RegisterState& Thread::get_register_dump_from_stack()
|
||||
{
|
||||
// The userspace registers should be stored at the top of the stack
|
||||
// We have to subtract 2 because the processor decrements the kernel
|
||||
// stack before pushing the args.
|
||||
return *(RegisterState*)(kernel_stack_top() - sizeof(RegisterState));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue