hos: Add support for mesosphere

The change adds support for mesosphere loading from fss0 or sd (kernel=).
This commit is contained in:
CTCaer
2020-10-17 23:18:48 +03:00
parent d825be5eb2
commit bf222290b8
4 changed files with 15 additions and 2 deletions

View File

@@ -190,6 +190,10 @@ int parse_fss(launch_ctxt_t *ctxt, const char *path, fss0_sept_t *sept_ctxt)
ctxt->warmboot_size = curr_fss_cnt[i].size;
ctxt->warmboot = content;
break;
case CNT_TYPE_KRN:
ctxt->kernel_size = curr_fss_cnt[i].size;
ctxt->kernel = content;
break;
default:
continue;
}