static void sti() { ASMV("sti"); }
static void hlt() { ASMV("hlt"); }
static void cli() { ASMV("cli"); }
void init_sync(void) { if (create_mem_pool(sizeof(struct __mutex_node), &mutex_node_pool)) { LOG_ERROR("Failed to create a memory pool"); ASMV("jmp halt"); } }