Dear OSdev forum,
I wanted to know if there is an FDC (Floppy Driver Controller) existing in the system, before writing a driver for it. So I thought it must be in the ACPI tables. Using the wiki I found the DSDT and looked through bochs DSDT for an example.
I stumbled across something strange. There is one IO description for 0x3F2 with size 4 and one for 0x3F7 - the status registers A and B are missing.
Where is the error in my head?
Best regards
Sebi
ACPI Bochs dsdt.dsl unexpected io Definition
-
- Member
- Posts: 186
- Joined: Tue Aug 26, 2008 11:24 am
- GitHub: https://github.com/sebihepp
-
- Member
- Posts: 5568
- Joined: Mon Mar 25, 2013 7:01 pm
Re: ACPI Bochs dsdt.dsl unexpected io Definition
Some floppy disk controllers don't have status registers A and B, and Bochs is capable of emulating at least one such controller.
I think the default floppy disk controller in Bochs does have those status registers, though. That's probably a mistake in the DSDT. (I wonder if it's a common mistake on real hardware...)
I think the default floppy disk controller in Bochs does have those status registers, though. That's probably a mistake in the DSDT. (I wonder if it's a common mistake on real hardware...)
-
- Member
- Posts: 186
- Joined: Tue Aug 26, 2008 11:24 am
- GitHub: https://github.com/sebihepp
Re: ACPI Bochs dsdt.dsl unexpected io Definition
Thank you very much. I thought they were needed. But after having a look into the documentation again, you are right: They are completely optional.