Example #1
0
 static void sti() {
     ASMV("sti");
 }
Example #2
0
 static void hlt() {
     ASMV("hlt");
 }
Example #3
0
 static void cli() {
     ASMV("cli");
 }
Example #4
0
File: sync.c Project: AlexSnet/toy
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");
  }
}