xhci: sbrn register reporting 0x20
Posted: Sun Jul 26, 2020 2:04 pm
This is the source code in a zip file of my OS, which only prints the contents of the sbrn register of the xhci controller:
section 5.2.3 of the xhci spec it says that the SBRN register must return 0x30, 0x31 or 0x32, but it returns 0x20 in my code and I would like to know why. Am I doing something wrong? If so, what is it? I am a little bit desperate to have this working because I've been trying for a long time to have a 'hello world' code working, and I tried to make an example showing how the Event Ring is supposed to work, but when I saw the source code of other osdevers I realized that this register is returning the wrong value and I'd like to fix that before going any further, especially since BenLunt confirmed that it returns 0x30.
By the way, the version of VirtualBox I have installed is 6.1.12 r139181 (Qt5.12.8)
EDIT: Removed broken github link with zip file with source code.
In the By the way, the version of VirtualBox I have installed is 6.1.12 r139181 (Qt5.12.8)
EDIT: Removed broken github link with zip file with source code.