If the console_sc is not set (NULL), when interrupts are enabled uart_opal_cngetc() will try to dereference a NULL console_sc pointer, and fault.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 17317 Build 17152: arc lint + arc unit
Event Timeline
Comment Actions
This approach is wrong. The problem I was trying to solve is the interrupt handler accessing a bad sc. The proper fix will be to instead make the interrupt handler use a sc, instead of a consdev, and move more state data into the sc.