- panic("Unexpected vector %d\n", vector);But your code replace direct calls with an indirect call. Now AFAIK,
- unreachable();
+ if (!(sysvec_table[pending_events.vector - FIRST_SYSTEM_VECTOR])) {
+ WARN(1, "system vector entry 0x%x is NULL\n",
+ pending_events.vector);
+ } else {
+ (*sysvec_table[pending_events.vector - FIRST_SYSTEM_VECTOR])(regs);
}
} else {
common_interrupt(regs, pending_events.vector);
this SNP shit came with Zen3, and Zen3 still uses retpolines for
indirect calls.
Can you connect the dots?