cortex M NVIC / RTOS and Linux tasklet / work queue
收錄在 Ameba 的 100 篇
--
最早前有提到 ARM cortex-m 類似 IDT 的 vector table
這邊會從 CPU /interrupt 角度出發, 來了解 interrupt mode / process mode
RTOS - hard fault handler
RTOS - context switch - SVC
vector table / hard fault handler
RTOS - systick
..
之前也有介紹過 tasklet / work queue
linux device driver - tasklet
new linux device driver - tasklet
linux device driver - work queue
new linux device driver - work queue - 1
new linux device driver - work queue - 2
剛好今天有機會, 再看了一下...
( 參考: Architecture of Linux Kernel
http://rts.lab.asu.edu/web_438/CSE438_598_slides_yhlee/438_7_Linux_ISR.pdf
蠻值得好好看看的 )
Interrupt send / thread wait model
--
最早前有提到 ARM cortex-m 類似 IDT 的 vector table
這邊會從 CPU /interrupt 角度出發, 來了解 interrupt mode / process mode
RTOS - hard fault handler
RTOS - context switch - SVC
vector table / hard fault handler
RTOS - systick
..
之前也有介紹過 tasklet / work queue
linux device driver - tasklet
new linux device driver - tasklet
linux device driver - work queue
new linux device driver - work queue - 1
new linux device driver - work queue - 2
剛好今天有機會, 再看了一下...
( 參考: Architecture of Linux Kernel
http://rts.lab.asu.edu/web_438/CSE438_598_slides_yhlee/438_7_Linux_ISR.pdf
蠻值得好好看看的 )
work queue 就是 thread 的一種, 在 process mode,
而 tasklet 是建立在 softirq, 用 interrupt mode
Interrupt send / thread wait model
留言
張貼留言