Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from m1n1.proxyutils import RegMonitor
- from m1n1.utils import *
- from m1n1.constructutils import *
- iomon = RegMonitor(hv.u, ascii=True)
- def readmem_phys(addr, size, readfn=None):
- return hv.iface.readmem(addr, size)
- iomon.readmem = readmem_phys
- iomon.add(*u.adt["/arm-io/wdt"].get_reg(0))
- # re-issue this one every so often
- iomon.poll()
Advertisement
Add Comment
Please, Sign In to add comment