hcq: use mmio interface in nv (#9986)

* hcq: start mmio interface

* allow double cast

* revert

* faster?

* simpler, not needed more now

* dd

* types

* fix
This commit is contained in:
nimlgen
2025-04-22 21:58:12 +03:00
committed by GitHub
parent feee6986c9
commit bd580d8ea4
4 changed files with 52 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ class TrackedMemoryView:
self.wcb(self.mv, index)
def cast(self, new_type, **kwargs):
self.mv = self.mv.cast(new_type, **kwargs)
self.mv = self.mv.cast('B').cast(new_type, **kwargs)
return self
@property