Local

group Local_supportStdlib

supportStdlib locals

lorem

Macros

group Macros_supportStdlib_c

Variables

group Variables_supportStdlib_c

API’s

group Apis_supportStdlib_c

Getters

group Getters_supportStdlib_c

Setters

group Setters_supportStdlib_c

General

group General_supportStdlib_c

Functions

static CosmOS_MallocVariableType *supportStdlib_mallocVar(AddressType nextAvailableAddress, AddressType priorMallocAddress, AddressType nextMallocAddress, BitWidthType size)

Malloc support function.

The implementation contains creation of the new pointer of malloc variable type based on the next available address argument. The members of the malloc variable are then set based on the arguments and size is aligned to the BitWidthType (size contains aligned size of the malloc variable and then aligned size of the allocated memory)

Parameters
  • nextAvailableAddress[in]

  • priorMallocAddress[in]

  • nextMallocAddress[in]

  • size

Returns

CosmOS_MallocVariableType *