嵌入式 Linux 启动分为两个部分,系统引导与 Linux 启动。系统引导将完成 Linux 装入内存前,初始化 CPU 和相关 IO 设备,并将 Linux 调入内存的工作。系统引导主要由 BootLoader 实现。在 BootLoader 将 Linux 内核调入内存之后,将权力交给 LinuxKernel ,进入 Linux ...
Linux 内核提供了两个注册中断处理函数的接口: setup_irq 和 request_irq 。这两个函数都定义在 kernel/irq/manage.c 里。 /* * Internal function to register an irqaction - typically used to * allocate special interrupts that are part of ...