EHCI bios handoff

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
pikasoo
Member
Member
Posts: 30
Joined: Sun Sep 02, 2012 11:04 am
Contact:

EHCI bios handoff

Post by pikasoo »

Im facing an issue related to the bios handoff

On the computer im using to test the my OS, the Host Controller Capability Registers report the Capability Parameters being at offset 0x68 in the pci configuration space. so far the value look good and should be ok to use.

but doing so, the pci read result in an NMI

Im guessing the device(EHCI controler) doesnt have anything to be read at this offset? or is it something my OS should ignore?

right now my kernel panic when it receive the NMI.


thx for any advice!
TomT
Member
Member
Posts: 42
Joined: Sat Mar 15, 2008 7:20 am
Location: Wisconsin, USA
Contact:

Re: EHCI bios handoff

Post by TomT »

You might find something useful in /usb/initehci.s

TomT

https://code.google.com/p/tatos/
User avatar
ehenkes
Member
Member
Posts: 124
Joined: Mon Mar 23, 2009 3:15 am
Location: Germany
Contact:

Re: EHCI bios handoff

Post by ehenkes »

I posted PrettyOS ehci_deactivateLegacySupport(...) at
http://forum.osdev.org/viewtopic.php?f= ... 3&start=15
pikasoo
Member
Member
Posts: 30
Joined: Sun Sep 02, 2012 11:04 am
Contact:

Re: EHCI bios handoff

Post by pikasoo »

Thanks for the information, i been able to find my bug by looking at tatos source. i was miss configuring my qTD and periodic list on 64bit chipset
User avatar
ehenkes
Member
Member
Posts: 124
Joined: Mon Mar 23, 2009 3:15 am
Location: Germany
Contact:

Re: EHCI bios handoff

Post by ehenkes »

That's right. ehci spec appendix B ist very important if you get master abort 2290h. :D
Post Reply