OpenMP Runtime
Defines | Functions
OMP Runtime Configuration Hooks

Defines

#define MSMCSRAM_START_ADDR   (0x0C000000)
#define MSMCSRAM_NC_SIZE   (0x00020000) /* 128 KB */
#define OMP_MASTER_CORE_IDX   (0)

Functions

void __TI_omp_reset (void)
 Default reset routine.
void __TI_omp_configure (void)
 Default OpenMP Runtime configuration function.
void __TI_omp_get_qmss_memory_regions (Qmss_MemRegInfo *memRegions, int *memRegionCount)
 API to get information on Memory regions used by the OpenMP runtime.
void __TI_omp_update_qmss_memory_regions (Qmss_MemRegInfo *memRegions, int memRegionCount)
 API to update the OpenMP runtime with memRegion and startIndex allocated by the caller.

Function Documentation

void __TI_omp_configure ( void  )

Default OpenMP Runtime configuration function.

The OpenMP runtime requires the following hardware resources:

  • The set of cores (contiguous) that run the OpenMP runtime
  • Hardware Semaphores (6)
  • QMSS general purpose hardware queues (11)
  • QMSS memory region (1)

The configuration function specifies the hardware resources that can be used by the runtime.

It is annotated weak and can be overridden by a user provided function with the same name.

See also:
__TI_omp_config_thread_stack

Here is the call graph for this function:

Here is the caller graph for this function:

void __TI_omp_get_qmss_memory_regions ( Qmss_MemRegInfo *  memRegions,
int *  memRegionCount 
)

API to get information on Memory regions used by the OpenMP runtime.

Parameters:
memRegionsarray of memory regions allocated by caller. OpenMP runtime will update memRegions with descriptor size, number and base address for each region it uses.
memRegionCountOpenMP runtime will set to number of regions used by it

Here is the call graph for this function:

void __TI_omp_reset ( void  )

Default reset routine.

Invoked by all cores during boot, before cinit.

Invoked before C initialization is performed - C init run addresses can be in regions mapped by MPAX. Annotated weak, can be overridden by a definition in application source

See also:
c_int00

Typically performs the following operations:

  • Sets up caches
  • Initializes the MPAX registers for mapping memory regions
  • Initializes the MAR registers to set attributes for memory regions

NOTE: The addresses and sizes used here must correspond to those specified in the Platform or linker command file!

Here is the call graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Defines