aboutsummaryrefslogtreecommitdiff
path: root/libc/string.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-09-13 22:36:19 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-09-13 22:53:17 +0100
commit56fa1b2a72c71bc8aae0ac8599160ccdd1c77668 (patch)
treee612737518676bccbe2f851edaa7671af2214977 /libc/string.c
parent71bb3bf1312ad968e659a41970fab3c9ba89c4fa (diff)
downloadopenbios-56fa1b2a72c71bc8aae0ac8599160ccdd1c77668.zip
openbios-56fa1b2a72c71bc8aae0ac8599160ccdd1c77668.tar.gz
openbios-56fa1b2a72c71bc8aae0ac8599160ccdd1c77668.tar.bz2
esp: use ESP rather than DMA interrupt to detect end of transfer
Rather than rely on the DMA interrupt to determine that an ESP interrupt has occurred, poll the ESP interrupt register directly. This enables us to poll until one of the specified interrupts occurs. Since an ESP interrupt can still be in a pending state before issuing an ESP command, read the ESP interrupt register beforehand to clear any pending interrupts. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'libc/string.c')
0 files changed, 0 insertions, 0 deletions