am: add am_smi (#8739)

* am: start monitor

* cleanups

* fixes

* hmm

* progress

* cleanup
This commit is contained in:
nimlgen
2025-01-24 20:16:19 +03:00
committed by GitHub
parent 7a2223a6c6
commit dc10187fc0
5 changed files with 194 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ class FakePCIDev:
class FakeAM:
def __init__(self):
self.is_booting = True
self.is_booting, self.smi_dev = True, False
self.pcidev = FakePCIDev()
self.vram = memoryview(bytearray(4 << 30))
self.gmc = FakeGMC()