From 28034355f677e0a042b305d485801fa13309ce48 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 26 Nov 2024 14:00:54 +0000 Subject: [PATCH] #0: assert calculation --- tt_metal/hw/firmware/src/ncrisck.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tt_metal/hw/firmware/src/ncrisck.cc b/tt_metal/hw/firmware/src/ncrisck.cc index bb1d98de165..18407e3211b 100644 --- a/tt_metal/hw/firmware/src/ncrisck.cc +++ b/tt_metal/hw/firmware/src/ncrisck.cc @@ -40,6 +40,7 @@ void kernel_launch(uint32_t kernel_base_addr) { uint32_t x = kernel_base_addr + (uint32_t)__kernel_init_local_l1_base - (uint32_t)__fw_export_end_text; do_crt1((uint32_t tt_l1_ptr*)x); extern uint32_t __kernel_data_lma[]; + extern "C" void exit(int); if ((uint32_t)&__kernel_data_lma != x) exit(1);