start: replace init_*_seg with memset/memcpy
Merge pull request #95 from rampant1018/master

start: replace init_*_seg with memset/memcpy