mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
Kernel: Mark read only RegisterState function parameters as const
This commit is contained in:
parent
27e1120dff
commit
85e95105c6
4 changed files with 4 additions and 4 deletions
|
@ -636,7 +636,7 @@ Region* MemoryManager::find_user_region_from_vaddr(Space& space, VirtualAddress
|
|||
return find_user_region_from_vaddr_no_lock(space, vaddr);
|
||||
}
|
||||
|
||||
void MemoryManager::validate_syscall_preconditions(Space& space, RegisterState& regs)
|
||||
void MemoryManager::validate_syscall_preconditions(Space& space, RegisterState const& regs)
|
||||
{
|
||||
// We take the space lock once here and then use the no_lock variants
|
||||
// to avoid excessive spinlock recursion in this extemely common path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue