Global

group Global_program

program globals

lorem

Macros

group Macros_program_h

Variables

group Variables_program_h

API’s

group Apis_program_h

Getters

group Getters_program_h

Functions

BitWidthType program_getProgramCoreId(CosmOS_ProgramConfigurationType *program)

Get program coreId.

Parameters

program[in] configuration pointer

Returns

BitWidthType

BitWidthType program_getProgramNumberOfTasks(CosmOS_ProgramConfigurationType *program)

Get program numberOfTasks.

Parameters

program[in] configuration pointer

Returns

BitWidthType

BitWidthType program_getProgramNumberOfThreads(CosmOS_ProgramConfigurationType *program)

Get program numberOfThreads.

Parameters

program[in] configuration pointer

Returns

BitWidthType

BitWidthType program_getProgramMemorySize(CosmOS_ProgramConfigurationType *program)

Get program programMemorySize.

Parameters

program[in] configuration pointer

Returns

BitWidthType

BitWidthType program_getProgramMemoryLowAddress(CosmOS_ProgramConfigurationType *program)

Get program programMemoryLowAddress.

Parameters

program[in] configuration pointer

Returns

BitWidthType

BitWidthType program_getProgramMemoryHighAddress(CosmOS_ProgramConfigurationType *program)

Get program programMemoryHighAddress.

Parameters

program[in] configuration pointer

Returns

BitWidthType

CosmOS_HeapConfigurationType *program_getHeap(CosmOS_ProgramConfigurationType *program)

Get program heap pointer.

Parameters

program[in] configuration pointer

Returns

CosmOS_HeapConfigurationType *

CosmOS_MutexVariableType *program_getProgramHeapMutex(CosmOS_ProgramConfigurationType *program)

Get program programHeapMutex.

Parameters

program[in] configuration pointer

Returns

CosmOS_MutexVariableType *

CosmOS_TaskConfigurationType *program_getProgramTasks(CosmOS_ProgramConfigurationType *program)

Get program taskCfgs.

Parameters

program[in] configuration pointer

Returns

CosmOS_TaskConfigurationType *

CosmOS_TaskConfigurationType *program_getProgramTask(CosmOS_ProgramConfigurationType *program, BitWidthType taskIterator)

Get program taskCfgs element pointer.

Parameters
  • program[in] configuration pointer

  • BitWidthType[in] taskIterator

Returns

CosmOS_TaskConfigurationType *

CosmOS_ThreadConfigurationType *program_getProgramThreads(CosmOS_ProgramConfigurationType *program)

Get program threadCfgs.

Parameters

program[in] configuration pointer

Returns

CosmOS_ThreadConfigurationType *

CosmOS_ThreadConfigurationType *program_getProgramThread(CosmOS_ProgramConfigurationType *program, BitWidthType threadIterator)

Get program threadCfgs element pointer.

Parameters
  • program[in] configuration pointer

  • BitWidthType[in] threadIterator

Returns

CosmOS_ThreadConfigurationType *

BitWidthType program_getProgramNumberOfMallocVars(CosmOS_ProgramConfigurationType *program)

Get program numberOfMallocVars.

Parameters

program[in] configuration pointer

Returns

BitWidthType

Setters

group Setters_program_h

Functions

void program_setProgramNumberOfMallocVars(CosmOS_ProgramConfigurationType *program, BitWidthType numberOfMallocVarsParam)

Set program numberOfMallocVars. This function cannot be called from the unprivileged context directly.

Parameters
  • program[out] configuration pointer

  • numberOfMallocVarsParam[in] number of malloc variables to set for current program

Returns

none

General

group General_program_h