PCI Bus Enumeration not returning IDE controllers
Posted: Mon Jan 28, 2013 5:09 am
Hi Everyone!
I'm an avid reader of the wiki and forums but, as you can obviously tell from the numbers below my name, this is my first post. Currently I'm developing a hobby OS (as I'm sure a lot of people on here are) and it's in the early stages. And by that I mean really early stages. At the moment I'm working on reading to and writing from Drives attached to the system and I've run into a bit of trouble.
Specifically, I want to enumerate the PCI bus and get a list of all of the IDE controllers (or any Mass Storage Device controllers for that matter) which I will later talk to and retrive information from. Unfortunantly, in both bochs and qemu, as well as a test machine, my PCI code only returns info about:
I'm 100% that the code works, as all of the device and vendor information is valid (I can look it up online) and the code is based off of Charlie Somerville's JSOS (which is an operating system written in JavaScript by the way).
Would anyone have any idea why this is happening? Any assistance would be greatly apprecitated.
Thanks again,
Keeley
I'm an avid reader of the wiki and forums but, as you can obviously tell from the numbers below my name, this is my first post. Currently I'm developing a hobby OS (as I'm sure a lot of people on here are) and it's in the early stages. And by that I mean really early stages. At the moment I'm working on reading to and writing from Drives attached to the system and I've run into a bit of trouble.
Specifically, I want to enumerate the PCI bus and get a list of all of the IDE controllers (or any Mass Storage Device controllers for that matter) which I will later talk to and retrive information from. Unfortunantly, in both bochs and qemu, as well as a test machine, my PCI code only returns info about:
- A PCI Host bridge device
- A PCI to ISA bridge device
- Optionally some another ISA bridge and a Display/Multimedia/Network controller (depending on the environment)
I'm 100% that the code works, as all of the device and vendor information is valid (I can look it up online) and the code is based off of Charlie Somerville's JSOS (which is an operating system written in JavaScript by the way).
Would anyone have any idea why this is happening? Any assistance would be greatly apprecitated.
Thanks again,
Keeley