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

Class PMPClient

proxyclient/experiments/pmp_init.py:237–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235
236
237class PMPClient(StandardASC, AOPBase):
238 ENDPOINTS = {0x20: PMPEp}
239 def __init__(self, u, dev_path, dart=None):
240 node = u.adt[dev_path]
241 asc_base = node.get_reg(0)[0]
242 AOPBase.__init__(self, u)
243 super().__init__(u, asc_base, dart)
244 self.dart = dart
245
246if u.adt['/arm-io'].compatible[0].startswith('arm-io,t8103'):
247 print("you have a pmp v1, this script is for v2 only")

Callers 1

pmp_init.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected