🆕 实现了异常捕获模块

This commit is contained in:
fslongjin
2022-01-25 18:04:18 +08:00
parent 14374d5faf
commit 06cfb1ceb9
10 changed files with 744 additions and 29 deletions

12
kernel/common/asm.h Normal file
View File

@ -0,0 +1,12 @@
#pragma once
#ifndef __ASM__
#define __ASM__
#define ENTRY(name)\
.global name; \
name:
#endif