def loader_mips(p): if p.header.e_ident.EI_DATA == elf.ELFDATA2LSB: from amoco.system.linux32.mips_le import OS logger.info("linux32/mips_le task loading...") return OS.loader(p, conf.System) if p.header.e_ident.EI_DATA == elf.ELFDATA2MSB: from amoco.system.linux32.mips import OS logger.info("linux32/mips (MSB) task loading...") return OS.loader(p, conf.System) else: logger.error("no endianess defined in ELF header")
def loader_arm(p): from amoco.system.linux32.arm import OS logger.info("linux32/armv7 task loaded") return OS.loader(p, conf.System)
def loader_sh2(p): from amoco.system.linux32.sh2 import OS logger.info("linux32/sh2 task loaded") return OS.loader(p, conf.System)
def loader_x86(p): from amoco.system.linux32.x86 import OS logger.info("linux32/x86 task loaded") return OS.loader(p, conf.System)
def loader_sparc(p): from amoco.system.linux32.riscv import OS logger.info("linux32/riscv task loading...") return OS.loader(p, conf.System)
def loader_arm(p): from amoco.system.linux32.arm import OS return OS.loader(p, conf.System)
def loader_sh2(p): from amoco.system.linux32.sh2 import OS return OS.loader(p, conf.System)
def loader_x86(p): from amoco.system.linux32.x86 import OS return OS.loader(p, conf.System)
def loader_sh2(p): from amoco.system.linux32.mips_le import OS logger.info("linux32/mips_le task loading...") return OS.loader(p, conf.System)