m1n1/proxyclient/setup.py
Hector Martin 7fb35a8533 proxyutils.py: Call ad-hoc code in RX EL1 region
Signed-off-by: Hector Martin <marcan@marcan.st>
2021-05-13 18:15:35 +09:00

19 lines
359 B
Python

import os, struct, sys, time
from proxy import *
from tgtypes import *
from proxyutils import *
from utils import *
from hv import HV
iface = UartInterface()
p = M1N1Proxy(iface, debug=False)
bootstrap_port(iface, p)
u = ProxyUtils(p)
mon = RegMonitor(u)
hv = HV(iface, p, u)
fb = u.ba.video.base
print("Base at: 0x%x" % u.base)
print("FB at: 0x%x" % fb)