mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-17 06:08:28 +00:00
m1n1.fw.dcp: Zero dcpep's shared memeory
Fixes a crash of DCP with experiments/dcp.py after chainloading m1n1 on j314c. Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
5983d997d8
commit
7028f3e2d8
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ class DCPEndpoint(ASCBaseEndpoint):
|
|||
|
||||
def initialize(self):
|
||||
self.shmem, self.shmem_dva = self.asc.ioalloc(0x100000)
|
||||
self.asc.p.memset32(self.shmem, 0, 0x100000)
|
||||
self.send(DCPEp_SetShmem(DVA=self.shmem_dva))
|
||||
while not self.init_complete:
|
||||
self.asc.work()
|
||||
|
|
Loading…
Add table
Reference in a new issue