From e27199f729aecceea0903422522795b79cc12383 Mon Sep 17 00:00:00 2001 From: tqcq Date: Mon, 21 Oct 2024 03:17:51 +0000 Subject: [PATCH] feat: disable mask --- hammersuite/src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hammersuite/src/main.c b/hammersuite/src/main.c index ee61173..981f34f 100644 --- a/hammersuite/src/main.c +++ b/hammersuite/src/main.c @@ -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);