Skip to content
Snippets Groups Projects
Commit 5e25bc89 authored by rahix's avatar rahix
Browse files

feat(serial): Add function to switch serial to synchronous


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: default avatarRahix <rahix@rahix.de>
parent 8ac93244
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment