Integrate new result macros. ()

* result: try out some experimental shenanigans

* result: sketch out some more shenanigans

* result: see what it looks like to convert kernel to use result conds instead of guards

* make rest of kernel use experimental new macro-ing
This commit is contained in:
SciresM 2022-02-14 14:45:32 -08:00 committed by GitHub
parent 375ba615be
commit 96f95b9f95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
109 changed files with 1355 additions and 1380 deletions
libraries/libmesosphere/source

View file

@ -80,7 +80,7 @@ namespace ams::kern {
m_pool_type = pool_type;
m_is_initialized = true;
return ResultSuccess();
R_SUCCEED();
}
void KIoPool::Finalize() {
@ -113,7 +113,7 @@ namespace ams::kern {
/* Add the region to our pool. */
m_io_region_list.push_back(*new_region);
return ResultSuccess();
R_SUCCEED();
}
void KIoPool::RemoveIoRegion(KIoRegion *region) {