hekate/nyx: correct type on heap_init

This commit is contained in:
CTCaer 2022-02-15 00:23:23 +02:00
parent 83b895a062
commit 9aa55c2d76
2 changed files with 2 additions and 2 deletions

View file

@ -1475,7 +1475,7 @@ void ipl_main()
pivot_stack(IPL_STACK_TOP); pivot_stack(IPL_STACK_TOP);
// Tegra/Horizon configuration goes to 0x80000000+, package2 goes to 0xA9800000, we place our heap in between. // Tegra/Horizon configuration goes to 0x80000000+, package2 goes to 0xA9800000, we place our heap in between.
heap_init(IPL_HEAP_START); heap_init((void *)IPL_HEAP_START);
#ifdef DEBUG_UART_PORT #ifdef DEBUG_UART_PORT
uart_send(DEBUG_UART_PORT, (u8 *)"hekate: Hello!\r\n", 16); uart_send(DEBUG_UART_PORT, (u8 *)"hekate: Hello!\r\n", 16);

View file

@ -416,7 +416,7 @@ void nyx_init_load_res()
void ipl_main() void ipl_main()
{ {
//Tegra/Horizon configuration goes to 0x80000000+, package2 goes to 0xA9800000, we place our heap in between. //Tegra/Horizon configuration goes to 0x80000000+, package2 goes to 0xA9800000, we place our heap in between.
heap_init(IPL_HEAP_START); heap_init((void *)IPL_HEAP_START);
b_cfg = (boot_cfg_t *)(nyx_str->hekate + 0x94); b_cfg = (boot_cfg_t *)(nyx_str->hekate + 0x94);