User`s guide

KwikNet System Configuration
K
A
DAK
47
OS Parameters (continued)
Memory Allocation
KwikNet must be able to dynamically allocate and free blocks of memory of varying sizes.
Three methods of memory allocation are supported (see Chapter 1.5).
Standard C: If you check the "Standard C" radio button, KwikNet will use standard C
library functions malloc() and free() to allocate and free memory.
Simple Heap: If you check the "KwikNet simple heap" radio button, KwikNet will provide
its own simple heap and the services to use the heap to allocate and free memory. You
must then choose the memory source and indicate its size and paging requirements by
filling in the memory region parameters.
OS Services: If you are using an operating system which provides its own memory
allocation services, check the radio button labeled "
Use OS memory services".
If you are porting
KwikNet to your own operating system and wish to use its memory
allocation services, you must edit the functions which access those services in the OS
Interface Module KN_OSIF.C (see Chapter 2 of the KwikNet Porting Kit User's Guide).
OS Fixed Memory Region (Heap)
When using the operating system's memory allocation services, you may have to provide
memory for use as a heap. If so, check the box labeled "OS allocates memory from a fixed
region
". For example, when AMX memory management services are used, a private
memory pool is created for network memory allocation, isolating KwikNet from conflicts
arising from memory allocation for other uses. If you check this box, you must choose
the memory source and indicate its size by filling in the memory region parameters.