//===- xl-gen generated file ---------------------------------*- C -*-===// // // Overlay Context // // Automatically generated file, do not edit! // //===-----------------------------------------------------------------===// /*<---EXTERN_BEGIN--->*/ /* dspu_text*/ extern unsigned __dsp__dspu_text_start; extern unsigned __dsp__dspu_text_start_src; extern unsigned __dsp__dspu_text_end_src; extern unsigned __dsp__dspu_text_end; /* dspu_data*/ extern unsigned __dsp__dspu_data_start; extern unsigned __dsp__dspu_data_start_src; extern unsigned __dsp__dspu_data_end_src; extern unsigned __dsp__dspu_data_end; /* dspu_bss*/ extern unsigned __dsp__dspu_bss_start; extern unsigned __dsp__dspu_bss_start_src; extern unsigned __dsp__dspu_bss_end_src; extern unsigned __dsp__dspu_bss_end; /*<---EXTERN_END--->*/ void __overlay_ctx_init_table(struct ovl_ctx * ctx) { /* dspu_text*/ ctx[0].__text_src = (&__dsp__dspu_text_start_src); ctx[0].__text_offset = (unsigned)(&__dsp__dspu_text_start); ctx[0].__text_dst = (unsigned*)(((void*)&__dsp__dspu_text_start) + ctx[0].dsp_info->pram_base); ctx[0].__text_size = ((unsigned)&__dsp__dspu_text_end_src) - ((unsigned)&__dsp__dspu_text_start_src); ctx[0].__present = 1; /* dspu_data*/ ctx[0].__data_src = (&__dsp__dspu_data_start_src); ctx[0].__data_dst = (unsigned*)(((void*)&__dsp__dspu_data_start) + ctx[0].dsp_info->xyram_base); ctx[0].__data_size = ((unsigned)&__dsp__dspu_data_end_src) - ((unsigned)&__dsp__dspu_data_start_src); /* dspu_bss*/ ctx[0].__bss_src = (&__dsp__dspu_bss_start_src); ctx[0].__bss_dst = (unsigned*)(((void*)&__dsp__dspu_bss_start) + ctx[0].dsp_info->xyram_base); ctx[0].__bss_size = ((unsigned)&__dsp__dspu_bss_end_src) - ((unsigned)&__dsp__dspu_bss_start_src); }