//===- xl-gen generated file ---------------------------------*- C -*-===// // // Overlay Context // // Automatically generated file, do not edit! // //===-----------------------------------------------------------------===// /*<---EXTERN_BEGIN--->*/ /* dspu0_text*/ extern unsigned dspu0___dspu0_text_start; extern unsigned dspu0___dspu0_text_start_src; extern unsigned dspu0___dspu0_text_end_src; extern unsigned dspu0___dspu0_text_end; extern unsigned dspu0__exit; /* dspu0_data*/ extern unsigned dspu0___dspu0_data_start; extern unsigned dspu0___dspu0_data_start_src; extern unsigned dspu0___dspu0_data_end_src; extern unsigned dspu0___dspu0_data_end; /* dspu0_bss*/ extern unsigned dspu0___dspu0_bss_start; extern unsigned dspu0___dspu0_bss_start_src; extern unsigned dspu0___dspu0_bss_end_src; extern unsigned dspu0___dspu0_bss_end; /* dspu1_text*/ extern unsigned dspu1___dspu1_text_start; extern unsigned dspu1___dspu1_text_start_src; extern unsigned dspu1___dspu1_text_end_src; extern unsigned dspu1___dspu1_text_end; extern unsigned dspu1__exit; /* dspu1_data*/ extern unsigned dspu1___dspu1_data_start; extern unsigned dspu1___dspu1_data_start_src; extern unsigned dspu1___dspu1_data_end_src; extern unsigned dspu1___dspu1_data_end; /* dspu1_bss*/ extern unsigned dspu1___dspu1_bss_start; extern unsigned dspu1___dspu1_bss_start_src; extern unsigned dspu1___dspu1_bss_end_src; extern unsigned dspu1___dspu1_bss_end; /*<---EXTERN_END--->*/ void __overlay_ctx_init_table(struct ovl_ctx * ctx) { /* dspu0_text*/ ctx[0].__text_src = (&dspu0___dspu0_text_start_src); ctx[0].__text_offset = (unsigned)(&dspu0___dspu0_text_start); ctx[0].__text_dst = (unsigned*)(((void*)&dspu0___dspu0_text_start) + ctx[0].dsp_info->pram_base); ctx[0].__text_size = ((unsigned)&dspu0___dspu0_text_end_src) - ((unsigned)&dspu0___dspu0_text_start_src); ctx[0].__exit_address = (&dspu0__exit); ctx[0].__present = 1; /* dspu0_data*/ ctx[0].__data_src = (&dspu0___dspu0_data_start_src); ctx[0].__data_dst = (unsigned*)(((void*)&dspu0___dspu0_data_start) + ctx[0].dsp_info->xyram_base); ctx[0].__data_size = ((unsigned)&dspu0___dspu0_data_end_src) - ((unsigned)&dspu0___dspu0_data_start_src); /* dspu0_bss*/ ctx[0].__bss_src = (&dspu0___dspu0_bss_start_src); ctx[0].__bss_dst = (unsigned*)(((void*)&dspu0___dspu0_bss_start) + ctx[0].dsp_info->xyram_base); ctx[0].__bss_size = ((unsigned)&dspu0___dspu0_bss_end_src) - ((unsigned)&dspu0___dspu0_bss_start_src); /* dspu1_text*/ ctx[1].__text_src = (&dspu1___dspu1_text_start_src); ctx[1].__text_offset = (unsigned)(&dspu1___dspu1_text_start); ctx[1].__text_dst = (unsigned*)(((void*)&dspu1___dspu1_text_start) + ctx[1].dsp_info->pram_base); ctx[1].__text_size = ((unsigned)&dspu1___dspu1_text_end_src) - ((unsigned)&dspu1___dspu1_text_start_src); ctx[1].__exit_address = (&dspu1__exit); ctx[1].__present = 1; /* dspu1_data*/ ctx[1].__data_src = (&dspu1___dspu1_data_start_src); ctx[1].__data_dst = (unsigned*)(((void*)&dspu1___dspu1_data_start) + ctx[1].dsp_info->xyram_base); ctx[1].__data_size = ((unsigned)&dspu1___dspu1_data_end_src) - ((unsigned)&dspu1___dspu1_data_start_src); /* dspu1_bss*/ ctx[1].__bss_src = (&dspu1___dspu1_bss_start_src); ctx[1].__bss_dst = (unsigned*)(((void*)&dspu1___dspu1_bss_start) + ctx[1].dsp_info->xyram_base); ctx[1].__bss_size = ((unsigned)&dspu1___dspu1_bss_end_src) - ((unsigned)&dspu1___dspu1_bss_start_src); } /*<---EOF--->*/