mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Address is relative to beginning of region
This commit is contained in:
parent
be8ef351ce
commit
22850707a6
@ -3596,7 +3596,7 @@ class RootComplex(Switch):
|
||||
return b'\x00'*length
|
||||
|
||||
def msi_region_write(self, addr, data):
|
||||
assert addr == self.msi_addr
|
||||
assert addr == 0
|
||||
assert len(data) == 4
|
||||
number = struct.unpack('<L', data)[0]
|
||||
print("MSI interrupt: 0x%08x, 0x%04x" % (addr, number))
|
||||
|
Loading…
x
Reference in New Issue
Block a user