mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-04 00:28:51 -04:00
ncm: use static memory pools for different allocations
This commit is contained in:
parent
7fc1e86bf5
commit
bd4c608b08
11 changed files with 159 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue