LS1021A watchdog interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1021A watchdog interrupt

790件の閲覧回数
keestrommel
Contributor IV

The watchdog of the LS1021A has besides the watchdog reset the capability to generate an interrupt when the watchdog is not serviced with a certain time. However from the reference manual it is not clear which interrupt is generated.

I like to write an interrupt handler for the watchdog interrupt that will call "panic" so that I can investigate what the CPU is doing when the watchdog is not serviced in time. Which IRQ must be used to bind my watchdog interrupt handler with the watchdog interrupt by means of the "request_irq" kernel API?

ラベル(1)
0 件の賞賛
返信
1 返信

585件の閲覧回数
keestrommel
Contributor IV

The attached patch file enables the watchdog interrupt and adds a watchdog interrupt ISR that calls "panic".

0 件の賞賛
返信