完成初始化阶段的内存申请函数

Signed-off-by: hurley25 <liuhuan1992@gmail.com>