ACPI Bochs dsdt.dsl unexpected io Definition

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
sebihepp
Member
Member
Posts: 177
Joined: Tue Aug 26, 2008 11:24 am
GitHub: https://github.com/sebihepp

ACPI Bochs dsdt.dsl unexpected io Definition

Post by sebihepp »

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
Octocontrabass
Member
Member
Posts: 5418
Joined: Mon Mar 25, 2013 7:01 pm

Re: ACPI Bochs dsdt.dsl unexpected io Definition

Post by Octocontrabass »

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...)
sebihepp
Member
Member
Posts: 177
Joined: Tue Aug 26, 2008 11:24 am
GitHub: https://github.com/sebihepp

Re: ACPI Bochs dsdt.dsl unexpected io Definition

Post by sebihepp »

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.
Post Reply