HariboteOS/day3/bootpack.c
2021-03-03 23:47:22 +08:00

10 lines
169 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

void io_hlt(void);
// 入口函数HariMain重命名为标准的main
// 返回类型修改为int避免编译器警告
int main(void) {
fin:
io_hlt();
goto fin;
}