Moved x86 definitions to a namespace with the same name; implemented dynamic initialization of boot_pgdir and IDT