kern: implement KThreadLocalPage
This commit is contained in:
@@ -22,7 +22,7 @@ namespace ams::kern {
|
||||
for (size_t i = 0; i < num_block_shifts; i++) {
|
||||
overhead_size += KPageHeap::Block::CalculateMetadataOverheadSize(region_size, block_shifts[i], (i != num_block_shifts - 1) ? block_shifts[i + 1] : 0);
|
||||
}
|
||||
return util::AlignUp(overhead_size, KMemoryManager::PageSize);
|
||||
return util::AlignUp(overhead_size, PageSize);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user