We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643675c commit 1cb527dCopy full SHA for 1cb527d
1 file changed
proxyclient/hv/trace_bt.py
@@ -311,14 +311,15 @@ def w_DOORBELL_05(self, val):
311
print(close_pipe)
312
313
del self._open_pipes[close_pipe.pipe_idx]
314
+ self._last_ring_idx[close_pipe.pipe_idx] = 0
315
elif pipe in self._open_pipes:
316
tr_iova = self._open_pipes[pipe].ring_iova
317
318
for i in range(self._last_ring_idx[pipe], ring_idx):
- # FIXME XXX what's going on here?
319
- tr_data_addr = tr_iova
+ # FIXME where does this size come from?
320
+ tr_data_addr = tr_iova + 0x118 * i
321
print(f"TR idx {i} @ iova {tr_data_addr:016X}")
- tr_data = self.dart_tracer.dart.ioread(STREAM, tr_data_addr, 0x200)
322
+ tr_data = self.dart_tracer.dart.ioread(STREAM, tr_data_addr, 0x118)
323
chexdump(tr_data)
324
except Exception as e:
325
print(e)
0 commit comments