mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-29 11:26:04 +00:00
6b8887b5d8
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.
14 lines
303 B
C
14 lines
303 B
C
#ifndef _MC_H_
|
|
#define _MC_H_
|
|
|
|
#include "../utils/types.h"
|
|
#include "../mem/mc_t210.h"
|
|
|
|
void mc_config_tsec_carveout(u32 bom, u32 size1mb, bool lock);
|
|
void mc_config_carveout();
|
|
void mc_config_carveout_finalize();
|
|
void mc_enable_ahb_redirect();
|
|
void mc_disable_ahb_redirect();
|
|
void mc_enable();
|
|
|
|
#endif
|