Esempio n. 1
0
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")
Esempio n. 2
0
def loader_arm(p):
    from amoco.system.linux32.arm import OS
    logger.info("linux32/armv7 task loaded")
    return OS.loader(p, conf.System)
Esempio n. 3
0
def loader_sh2(p):
    from amoco.system.linux32.sh2 import OS
    logger.info("linux32/sh2 task loaded")
    return OS.loader(p, conf.System)
Esempio n. 4
0
def loader_x86(p):
    from amoco.system.linux32.x86 import OS
    logger.info("linux32/x86 task loaded")
    return OS.loader(p, conf.System)
Esempio n. 5
0
def loader_sparc(p):
    from amoco.system.linux32.riscv import OS
    logger.info("linux32/riscv task loading...")
    return OS.loader(p, conf.System)
Esempio n. 6
0
def loader_arm(p):
    from amoco.system.linux32.arm import OS
    return OS.loader(p, conf.System)
Esempio n. 7
0
def loader_sh2(p):
    from amoco.system.linux32.sh2 import OS
    return OS.loader(p, conf.System)
Esempio n. 8
0
def loader_x86(p):
    from amoco.system.linux32.x86 import OS
    return OS.loader(p, conf.System)
Esempio n. 9
0
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)