Finish AP init code. Use ld script