summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2019-08-12 21:32:28 +1000
committerAndreas Kling <awesomekling@gmail.com>2019-08-12 14:15:24 +0200
commit4b44962e030f6e3abf6bfc82fbf8382884d92504 (patch)
tree95f91b8a15ccc303369a6a935bba687e93288227 /Applications
parentce8387d1ed001aae593c934e1119705525b51d85 (diff)
downloadserenity-4b44962e030f6e3abf6bfc82fbf8382884d92504.zip
Kernel: Use a CircularQueue for input rather than a DoubleBuffer
TTY::emit is called from an IRQ handler, and is used to push input data into a buffer for later retrieval. Previously this was using DoubleBuffer, but that class wants to take a lock. Our lock code wants to make sure interrupts are enabled, but they're disabled while an IRQ handler is running. This made the kernel sad, but this CircularQueue cheers it up by avoiding the lock requirement completely.
Diffstat (limited to 'Applications')
0 files changed, 0 insertions, 0 deletions