os: amend io region api
This commit is contained in:
1 parent
3eac814268
commit
00d0c94f2d
3 files changed
+4
-4
No files matched your search
@@ -59,7 +59,7 @@ namespace ams::os {
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
void AttachIoRegion(IoRegionType *io_region, size_t size, Handle handle, bool managed) {
|
||||
void AttachIoRegionHandle(IoRegionType *io_region, size_t size, Handle handle, bool managed) {
|
||||
/* Check pre-conditions. */
|
||||
AMS_ASSERT(io_region != nullptr);
|
||||
AMS_ASSERT(util::IsAligned(size, os::MemoryPageSize));
|
||||
|
||||
Reference in new issue
Block a user