1. LIBC add snprintf function.
2. Add memory manage, block algorithm.

Signed-off-by: Shanjin Yang <sjyang@credosemi.com>