ncm: use static memory pools for different allocations
This commit is contained in:
1 parent
7fc1e86bf5
commit
bd4c608b08
11 files changed
+159
-44
No files matched your search
@@ -22,8 +22,6 @@ namespace ams::mem::impl::heap {
|
||||
|
||||
namespace {
|
||||
|
||||
char g_log_buf[4_KB];
|
||||
|
||||
void InitializeSpanPage(SpanPage *sp) {
|
||||
static_assert(SpanPage::MaxSpanCount <= BITSIZEOF(u64));
|
||||
constexpr size_t NumUnusedBits = BITSIZEOF(u64) - SpanPage::MaxSpanCount;
|
||||
|
||||
Reference in new issue
Block a user