Merge pull request #1692 from Subv/rm_getpointer2
Memory: Remove most usages of GetPointer
This commit is contained in:
commit
ab4b27f0f5
18 changed files with 460 additions and 141 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue