feat: disable mask

This commit is contained in:
tqcq 2024-10-21 03:17:51 +00:00
parent 138868b66f
commit e27199f729

View File

@ -89,6 +89,7 @@ main(int argc, char **argv)
.size = p->m_size,
.align = p->m_align,
.flags = p->g_flags & MEM_MASK};
if (mem.flags & F_ALLOC_HUGE) { mem.flags &= ~F_ALLOC_HUGE; }
alloc_buffer(&mem);
set_physmap(&mem);