This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I need to see the source code that makes up a SYSBIOS library

Other Parts Discussed in Thread: SYSBIOS

while debugging I have seen the Hwi.c function Hwi_dispatchC(register Int intNum) being executed yet its not in the map.

The file Hwi.c is  in the BIOS tree but not in the MAP

looking below

sysbios.lib was created using BIOS.obj I NEED TO KNOW why the map only contains a _ti_sysbios_family_c28_Hwi_dispatchC__I is this code lifted from Hwi.c and placed in thebrary sysbios.lib? I have to know how these libraries are created and what EXACTLY is in them.

iT seems some magic is happening here and since this is safety critical I need to identify the source code that is used to create any libraries so I can instruct the V&V group exactly what SYSBIOS  functions we need to test

 

                  00301de2    000000e2     sysbios.lib : BIOS.obj (.text:_ti_sysbios_knl_Semaphore_pend__E)
                  00301ec4    000000d9                 : BIOS.obj (.text:_ti_sysbios_family_c28_Hwi_clearInterrupt__E)
                  00301f9d    000000d7                 : BIOS.obj (.text:_ti_sysbios_family_c28_Hwi_disablePIEIER__E)
                  00302074    000000d3                 : BIOS.obj (.text:_ti_sysbios_family_c28_Hwi_enablePIEIER__E)
                  00302147    000000c8                 : c28_Hwi_disp.obj (.text:_ti_sysbios_family_c28_Hwi_dispatch)
                  0030220f    000000c2                 : BIOS.obj (.text:_ti_sysbios_family_c28_Hwi_Instance_init__F)

  • Mark,
    I responded in your other thread, but there is an additional detail that you are aksing that I haven't explained. You are also trying to find out which source files are contributing to BIOS.obj. All SYS/BIOS C sources are compiled into BIOS.obj. There is a file Build.xs in ti/sysbios directory that controls the build, and you can see the list of all sources there. There is a list of common source files for all processor families, and then there are lists of family-specific sources.

    The other object files in sysbios.lib, like c28_Hwi_disp.obj, are results of compilation of assembly files. The names of the source files for such object files is easy to determine, just ignore the extension and search for it in that same file Build.xs. Build.xs is not meant to be documentation, so it's not easy to read but you should be able to find your answers there.