Move display_end before secmon + add boolean supp.

Currently bpmp loses access to the relevant registers when secmon or exosphere is launched.

This change provides support for all firmwares and properly sanitizes the display.
This commit is contained in:
Kostas Missos
2018-08-13 12:12:53 +03:00
parent e5abdd938e
commit 6b8887b5d8
15 changed files with 83 additions and 86 deletions

View File

@@ -133,7 +133,7 @@ void config_autoboot()
LIST_INIT(ini_sections);
u8 max_entries = 29;
int ini_freed = 1;
bool ini_freed = true;
ment_t *ments = (ment_t *)malloc(sizeof(ment_t) * (max_entries + 3));
u32 *boot_values = (u32 *)malloc(sizeof(u32) * max_entries);
@@ -146,7 +146,7 @@ void config_autoboot()
{
if (ini_parse(&ini_sections, "hekate_ipl.ini"))
{
ini_freed = 0;
ini_freed = false;
// Build configuration menu.
ments[0].type = MENT_BACK;