[Voyageurs] Fix offset for physical trb address.

This commit is contained in:
Drew Galbraith 2024-02-23 14:46:28 -08:00
parent b0b7e2faff
commit 39b6d32d86
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ uint64_t TrbRingWriter::EnqueueTrb(const XhciTrb& trb) {
}
trb_list_[ptr] = trb;
return phys_address_ + (ptr * sizeof(uint64_t));
return phys_address_ + (ptr * sizeof(XhciTrb));
}
bool TrbRingReader::HasNext() {