🆕 新增了使用8259A芯片的中断响应程序

This commit is contained in:
fslongjin
2022-01-29 12:52:25 +08:00
parent 49eaf6ce95
commit eff673edcb
8 changed files with 302 additions and 7 deletions

View File

@ -9,4 +9,17 @@
name:
#endif
#endif
// 符号名
#define SYMBOL_NAME(X) X
// 符号名字符串
#define SYMBOL_NAME_STR(X) #X
// 符号名label
#define SYMBOL_NAME_LABEL(X) X##:
#define L1_CACHE_BYTES 32
#define asmlinkage __attribute__((regparm(0)))
#define ____cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))