mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-19 10:13:10 +00:00
experiments/dcp: add system ep
This commit is contained in:
parent
d5be7edd97
commit
cdb6d087b2
2 changed files with 6 additions and 0 deletions
|
@ -110,9 +110,13 @@ dcp = DCPClient(u, dcp_addr, dart, disp_dart)
|
|||
dcp.dva_offset = getattr(u.adt["/arm-io/dcp"][0], "asc_dram_mask", 0)
|
||||
|
||||
dcp.start()
|
||||
dcp.start_ep(0x20)
|
||||
dcp.start_ep(0x37)
|
||||
dcp.dcpep.initialize()
|
||||
|
||||
dcp.system.wait_for("system")
|
||||
dcp.system.system.setProperty("gAFKConfigLogMask", 0xffff)
|
||||
|
||||
mgr = DCPManager(dcp.dcpep, compat)
|
||||
|
||||
mon.poll()
|
||||
|
|
|
@ -3,9 +3,11 @@ from ...utils import *
|
|||
|
||||
from ..asc import StandardASC
|
||||
from .dcpep import DCPEndpoint
|
||||
from ..afk.epic import *
|
||||
|
||||
class DCPClient(StandardASC):
|
||||
ENDPOINTS = {
|
||||
0x20: AFKSystemEndpoint,
|
||||
0x37: DCPEndpoint,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue