디바이스드라이버
-
[리눅스 커널] Interrupt - high level referenceLinux/kernel 2023. 8. 3. 02:27
글의 참고 - http://books.gigatux.nl/mirror/kerneldevelopment/0672327201/ch06lev1sec7.html - http://www.makelinux.net/ldd3/chp-10-sect-3.shtml - https://elixir.bootlin.com/linux/v4.10.5/source/kernel/irq/manage.c#L98 - https://www.kernel.org/doc/html/v4.16/core-api/genericirq.html 글의 전제 - 밑줄로 작성된 글은 강조 표시를 의미한다. - 그림 출처는 항시 그림 아래에 표시했다. 글의 내용 - Overview " low-level IRQ handler 는 주로 칩 제조사에서 만든다. 그러나, ..
-
[리눅스 커널] platform driver probe를 호출하는 4가지 방법.Linux/kernel 2023. 8. 3. 02:27
글의 참고 - https://docs.kernel.org/driver-api/driver-model/platform.html - https://linux-kernel-labs.github.io/refs/heads/master/labs/device_model.html#overview 글의 전제 - 밑줄로 작성된 글은 강조 표시를 의미한다. - 그림 출처는 항시 그림 아래에 표시했다. 글의 내용 - /driver/base/platform.c::platform_match() 함수에 probe()를 호출하는 4가지 조건이 있다. /** * platform_match - bind platform device to platform driver. * @dev: device. * @drv: driver. * * Pla..