diff --git a/proxyclient/m1n1/proxy.py b/proxyclient/m1n1/proxy.py index 892caabb..265c7840 100644 --- a/proxyclient/m1n1/proxy.py +++ b/proxyclient/m1n1/proxy.py @@ -516,6 +516,7 @@ class M1N1Proxy(Reloadable): P_MMU_INIT = 0x30c P_MMU_DISABLE = 0x30d P_MMU_RESTORE = 0x30e + P_MMU_INIT_SECONDARY = 0x30f P_XZDEC = 0x400 P_GZDEC = 0x401 @@ -864,6 +865,8 @@ class M1N1Proxy(Reloadable): return self.request(self.P_MMU_DISABLE) def mmu_restore(self, flags): self.request(self.P_MMU_RESTORE, flags) + def mmu_init_secondary(self, cpu): + self.request(self.P_MMU_INIT_SECONDARY, cpu) def xzdec(self, inbuf, insize, outbuf=0, outsize=0): diff --git a/src/proxy.c b/src/proxy.c index 2ab60a84..3cfa907c 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -289,6 +289,9 @@ int proxy_process(ProxyRequest *request, ProxyReply *reply) case P_MMU_RESTORE: mmu_restore(request->args[0]); break; + case P_MMU_INIT_SECONDARY: + mmu_init_secondary(request->args[0]); + break; case P_XZDEC: { uint32_t destlen, srclen; diff --git a/src/proxy.h b/src/proxy.h index 95a24d4b..899f275d 100644 --- a/src/proxy.h +++ b/src/proxy.h @@ -73,6 +73,7 @@ typedef enum { P_MMU_INIT, P_MMU_DISABLE, P_MMU_RESTORE, + P_MMU_INIT_SECONDARY, P_XZDEC = 0x400, // Decompression and data processing ops P_GZDEC,