factor out multiboot stuff, preparation for page frame allocation