Skip to content
Snippets Groups Projects
Commit 1ebaaf9b authored by MerryMage's avatar MerryMage Committed by Subv
Browse files

Kernel/Thread: Remove use of Memory::GetPointer

parent aa84cab4
No related branches found
No related tags found
No related merge requests found
......@@ -403,7 +403,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point,
priority = new_priority;
}
if (!Memory::GetPointer(entry_point)) {
if (!Memory::IsValidVirtualAddress(entry_point)) {
LOG_ERROR(Kernel_SVC, "(name=%s): invalid entry %08x", name.c_str(), entry_point);
// TODO: Verify error
return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment