gwoplock/ExOS

GPF on EHCI construction

Closed this issue · 7 comments

When constructing the EHCI hub or controller there is a repeated interrupt. I believe that it’s 13 but there may be a page fault before that. This may be caused by me forgetting to page in the controller’s memory.

First interrupt is a page fault. It does appear that it is never paged in.

The issue appears to be in the constructor for the root hub. Tried to page it in but it still seems to fail.

_caps = 0. It seems to be an issue getting bar0.

The issue is much deeper. the constructor never runs even though it gets in the case statement...

Ok so I called the wrong constructor so that caused the issue with bar0. There is still an issue with the constructor. If I had to guess, I'm not paging enough in

it appears to be in the malloc code.

fixed because malloc was fixed. see issue #62