OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 4:39 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: xHCI on QEMU aarch64 can not be accessed through MMIO
PostPosted: Wed Mar 01, 2023 1:56 am 
Offline

Joined: Wed Mar 01, 2023 1:47 am
Posts: 2
I am developing a OS kernel for aarch64 architecture, in Rust.
I could find PCI configuration space using ACPI, and the device descriptor seems fine.
I have read the PCI configuration space and found a xHCI device, but it can not be accessed through MMIO at the address specified in BAR.
It always returns 0xFF for any fields in capability registers. What did I missed to do?
I also tried reading 32 bit and 64 bit at once, but did not work either.

Screenshot:
https://drive.google.com/file/d/1wGFV2S ... sp=sharing

Source code is at:
https://github.com/siketyan/mikan/pull/ ... 65bd094211

Any helps are welcome!
Thank you for reading.


Top
 Profile  
 
 Post subject: Re: xHCI on QEMU aarch64 can not be accessed through MMIO
PostPosted: Sat Mar 04, 2023 4:23 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Looks like you already fixed it.


Top
 Profile  
 
 Post subject: Re: xHCI on QEMU aarch64 can not be accessed through MMIO
PostPosted: Thu Mar 16, 2023 4:22 am 
Offline

Joined: Wed Mar 01, 2023 1:47 am
Posts: 2
Yes, already resolved :)

Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Amazonbot [bot] and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group