MCPcopy
hub / github.com/AsahiLinux/m1n1 / Advertise

Method Advertise

proxyclient/hv/trace_pmp.py:87–92  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

85
86 @msg(0x32, DIR.RX, PMPMessage_Advertise)
87 def Advertise(self, msg):
88 self.tracer.dart.invalidate_cache()
89 self.log("Descriptor:")
90 data = self.tracer.ioread(msg.IOVA, 0x50)
91 chexdump(data, print_fn=self.log)
92 self.adv_size = struct.unpack("<I", data[0x40:0x44])[0]
93
94 @msg(0x33, DIR.TX, PMPMessage_AdvertiseAck)
95 def AdvertiseAck(self, msg):

Callers

nothing calls this directly

Calls 4

chexdumpFunction · 0.85
invalidate_cacheMethod · 0.45
logMethod · 0.45
ioreadMethod · 0.45

Tested by

no test coverage detected