[Yellowstone] Add method to get XHCI configuration space.

This commit is contained in:
Drew Galbraith 2024-02-06 20:49:43 -08:00
parent 27c39d05e8
commit 3bacfea183
11 changed files with 172 additions and 4 deletions

View file

@ -28,11 +28,13 @@ class PciReader {
PciReader();
z_cap_t GetAhciVmmo();
z_cap_t GetXhciVmmo();
private:
PciDeviceHeader* header_;
uint64_t achi_device_offset_ = 0;
uint64_t xhci_device_offset_ = 0;
void PciDump(uint64_t vaddr);
void BusDump(uint64_t base, uint64_t bus);