memset magic (i think)

This commit is contained in:
Pika 2018-09-17 17:13:50 -04:00 committed by GitHub
parent f340dce852
commit a263ac1618
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -646,6 +646,10 @@ int hos_launch(ini_sec_t *cfg)
// Copy BCT if debug mode is enabled.
if (ctxt.pkg1_id->kb < KB_FIRMWARE_VERSION_600)
memset((void *)0x4003D000, 0, 0x3000);
else
// and if we're not <6, do some new secmon magic~
memset((void *)0x4003F800, 0, 0x1000)
if (ctxt.debugmode)
_copy_bootconfig(&ctxt);