Octocontrabass wrote:
I don't see why you would need to sort anything in your ISR. Put them in a buffer and your keyboard driver can figure out what to do with them
Right now my ISR is pretty much part of the keyboard driver. At this early stage the only way to trigger anything driver related is via interrupt, hence ISR. I do put them into buffer (I'm attempting to sort them as command replies and the rest as part of command debugging).
In the future I plan to have ISR update the buffer and notify driver it has new data. This would be handled by a driver task that would get scheduled. But I'm nowhere near that plan yet.
Octocontrabass wrote:
If you want your OS to work correctly on other people's hardware, yes.
Translation on it is then.
My dev VM is running qemu 5.2.0. It seems this is fixed on higher versions of qemu (tested on 6.x). But I guess I still need to reconsider how I handle things.