summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/tty
diff options
context:
space:
mode:
authordzwdz2022-08-21 16:02:38 +0200
committerdzwdz2022-08-21 16:02:38 +0200
commitdc5098f83ac55722744a97d2950f50ef2a221f1a (patch)
treeb9f4f0f1172cb75abec3e355d4e7e72ebd1475ac /src/kernel/arch/amd64/tty
parent2c3df5122edc3aaee5f8d3776a7d296310a5021e (diff)
amd64/rtl8139: fix incorrect ring buffer wrapping reads
I was reading from the buffer as if the WRAP flag was enabled, but it actually isn't supported with a 64K buffer. Besides, if it worked correctly, then the code for updating the ring position would land in the wrong place, because it didn't take WARP into account.
Diffstat (limited to 'src/kernel/arch/amd64/tty')
0 files changed, 0 insertions, 0 deletions