aboutsummaryrefslogtreecommitdiff
path: root/scripts/acpi_extract_preprocess.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-07 12:48:11 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-12-07 12:59:51 -0500
commit402f9a4f07a3705920ca4e47a06120ac6beaa8b4 (patch)
treec88615b93c15d7b4309891921f4121ab536e24f1 /scripts/acpi_extract_preprocess.py
parent302a6e82dc9e8c6f1028f98e578336aed07d8f66 (diff)
downloadseabios-402f9a4f07a3705920ca4e47a06120ac6beaa8b4.zip
seabios-402f9a4f07a3705920ca4e47a06120ac6beaa8b4.tar.gz
seabios-402f9a4f07a3705920ca4e47a06120ac6beaa8b4.tar.bz2
floppy: Fix accesses to DOR register.
The DOR register is a write-only register (even though QEMU and at least some real hardware permit read/write acess). So, do not read from the DOR port. Introduce a VARLOW variable (FloppyDOR) to store the current state. When resetting the controller, make sure to enable both the controller and interrupts. Also, make sure the controller is really reset (by writing a 0 to DOR first) to ensure an IRQ is received on reset. Also, add some additional dprintf statements to the floppy init path. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/acpi_extract_preprocess.py')
0 files changed, 0 insertions, 0 deletions