Add a panic() function
All threads resolved!
All threads resolved!
Compare changes
Files
2- rahix authored
In severe error conditions, asynchronous prints will never work. For such cases we need a way to make prints happen synchronously again, the same way it works during early boot. Add a serial_return_to_synchronous() function which unconditionally switches the serial driver code to synchronous mode. Only use this function in unrecoverable error conditions! Signed-off-by:
Rahix <rahix@rahix.de>
+ 2
− 0
@@ -31,6 +31,8 @@ void vSerialTask(void *pvParameters);