Commit 233e495c authored by Lioncash's avatar Lioncash
Browse files

kernel/shared_memory: Make Map() and Unmap() take the target process by...

kernel/shared_memory: Make Map() and Unmap() take the target process by reference rather than as a pointer

Both member functions assume the passed in target process will not be
null. Instead of making this assumption implicit, we can change the
functions to be references and enforce this at the type-system level.
parent fb5d4b17
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment