Implemented the first task of M3: kernel bootstrapping code for lmp.