Simplify system termination procedure
Summary
In the system termination procedure, everything after invoking the fatal extensions is essentially dead code. Simplify the procedure and provide a reasonable safe fall-back for badly configured applications. Just execute an idle loop with maskable interrupts disabled.
This removes the need for CPU ports to provide a fatal halt handler.
Edited by Sebastian Huber