Add SVC generic patches

First patch allows same process on svcControlCodeMemory
This commit is contained in:
Kostas Missos
2019-02-12 00:36:24 +02:00
parent 4ae42c3a9d
commit 5cd596e53c
3 changed files with 8 additions and 2 deletions

View File

@@ -487,6 +487,8 @@ int hos_launch(ini_sec_t *cfg)
for (u32 j = 0; j < kernel_patchset[i].val; j++)
*(vu32 *)(ctxt.kernel + kernel_patchset[i].off + (j << 2)) = temp[j];
}
else if (kernel_patchset[i].id < SVC_VERIFY_DS)
*(vu32 *)(ctxt.kernel + kernel_patchset[i].off) = kernel_patchset[i].val;
}
}
}