This commit is contained in:
fslongjin
2022-05-11 20:42:30 +08:00
parent 77d4854db7
commit edb21695ae
9 changed files with 117 additions and 10 deletions

View File

@ -8,8 +8,10 @@
//引入对bool类型的支持
#include <stdbool.h>
#include <stdint.h>
#include <common/miniLibc/stddef.h>
#include <arch/arch.h>
#define NULL 0
#define sti() __asm__ __volatile__("sti\n\t" :: \
: "memory") //开启外部中断