PSP Porting


The Platform Support Package (PSP) is designed to hold all platform-specific functionality, either because it relies on specific features of a target system, or because this provides the most efficient or flexible solution for the developer. For full details of its functions and macros, see the HCC Base Platform Support Package User Guide.

The module makes use of the following standard PSP functions:

Function Package Element Description
psp_memcmp() psp_base psp_string Compares two blocks of memory.
psp_strncat() psp_base psp_string Appends a string.
psp_strncpy() psp_base psp_string Copies one string of defined length to another.
psp_strnlen() psp_base psp_string Gets the length of a string.

The module makes use of the following standard PSP macro:

Macro Package Element Description
PSP_RD_BE32 psp_base psp_endianness Reads a 32 bit value stored as big-endian from a memory location.