Re-implement console drivers in C
Open, Needs TriagePublic

Description

According to the discussion in this Gerrit review, there are some limitations that prevent implementing console drivers in C code today. This task is about addressing these limitations so that we convert the asm code into C code, which makes it easier to maintain going forward.