示例#1
0
文件: asm.hpp 项目: andrewsen/MiniOS
 static void sti() {
     ASMV("sti");
 }
示例#2
0
文件: asm.hpp 项目: andrewsen/MiniOS
 static void hlt() {
     ASMV("hlt");
 }
示例#3
0
文件: asm.hpp 项目: andrewsen/MiniOS
 static void cli() {
     ASMV("cli");
 }
示例#4
0
文件: sync.c 项目: 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");
  }
}