[Voyageurs] Fix offset for physical trb address.
This commit is contained in:
parent
b0b7e2faff
commit
39b6d32d86
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue