摘要: make modules结束后使用命令安装内核中可加载模块文件到一个指定目录下.make modules_install INSTALL_MOD_PATH=/home/usr/modules 阅读全文
posted @ 2020-11-29 19:55 卷哭你 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 硬件发生中断过程和软件识别中断过程是相反的 cpu读取中断控制器是那个模块发生了中断. #if 0 /* Interrupt number assignments within Linux */#define WM831X_IRQ_TEMP_THW 0#define WM831X_IRQ_GPIO_ 阅读全文
posted @ 2020-11-29 18:26 卷哭你 阅读(115) 评论(0) 推荐(0) 编辑
摘要: // Rountine to acknowledge ,diable and enable interupts static void gic_poke_irq(struct irq_data*d,u32 offset) { u32 mask = 1 << (gic_irq(%d)%32); wri 阅读全文
posted @ 2020-11-29 17:04 卷哭你 阅读(354) 评论(0) 推荐(0) 编辑