mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
Kernel: Remove a comment that has been stale since 7a64f55c0f
This commit is contained in:
parent
b0aa8115c2
commit
96ff0971ea
Notes:
sideshowbarker
2024-07-19 03:31:46 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/96ff0971ead Pull-request: https://github.com/SerenityOS/serenity/pull/3185
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()
|
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));
|
return *(RegisterState*)(kernel_stack_top() - sizeof(RegisterState));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue