Resources | Resources |



Implementation files

k1kheap.c is architecture-specific and is the default code for heap creation. It is compiled into the device image when the OEM compiles the target build. Brew MP provides versions for OS Services on Rex, L4, WinCE, QDSP ®6, and other architectures. k1kheap.c resides in the platform\cs\src\k1\src\arch\ directory, where corresponds to the architecture on which OS Services is running.

Its only entry point is k1KHeap_Init(), and k1KHeap_Exit() releases it.

OEMs can configure the kernel heap size by modifying the builds file. For more information, see Configuring heap size.