Files
ladybird/Kernel
Liav A f5090ab810 Kernel: Restore ATA PIO functionality
First, before this change, specifying 'force_pio' in the kernel
commandline was meaningless because we nevertheless set the DMA flag to
be enabled.

Also, we had a problem in which we used IO::repeated_out16() in PIO
write method. This might work on buggy emulators, but I suspect that on
real hardware this code will fail.

The most difficult problem was to restore the PIO read operation.
Apparently, it seems that we can't use IO::repeated_in16() here because
it will read zeroed data. Currently we rely on a simple loop that
invokes IO::in16() to a buffer. Also, the interrupt handling stage in
the PIO read method is moved to be handled inside the loop of reading
the requested sectors.
2020-04-15 12:35:10 +02:00
..
2020-04-13 23:20:59 +02:00
2020-01-18 09:45:54 +01:00
2020-03-28 18:27:18 +01:00
2020-01-31 13:13:04 +01:00
2020-04-10 13:09:35 +02:00
2020-03-21 09:46:30 +01:00
2020-04-13 00:53:22 +02:00
2020-04-13 00:53:22 +02:00
2020-01-18 09:45:54 +01:00
2020-03-28 18:27:18 +01:00
2020-04-13 00:53:22 +02:00
2020-04-13 00:53:22 +02:00
2020-04-13 00:53:22 +02:00
2020-04-13 00:53:22 +02:00
2020-04-13 00:53:22 +02:00