process.cc (10782:0a78638881d7) | process.cc (10810:683ab55819fd) |
---|---|
1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 63 unchanged lines hidden (view full) --- 72#include "arch/alpha/tru64/process.hh" 73#elif THE_ISA == SPARC_ISA 74#include "arch/sparc/linux/process.hh" 75#include "arch/sparc/solaris/process.hh" 76#elif THE_ISA == MIPS_ISA 77#include "arch/mips/linux/process.hh" 78#elif THE_ISA == ARM_ISA 79#include "arch/arm/linux/process.hh" | 1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 63 unchanged lines hidden (view full) --- 72#include "arch/alpha/tru64/process.hh" 73#elif THE_ISA == SPARC_ISA 74#include "arch/sparc/linux/process.hh" 75#include "arch/sparc/solaris/process.hh" 76#elif THE_ISA == MIPS_ISA 77#include "arch/mips/linux/process.hh" 78#elif THE_ISA == ARM_ISA 79#include "arch/arm/linux/process.hh" |
80#include "arch/arm/freebsd/process.hh" |
|
80#elif THE_ISA == X86_ISA 81#include "arch/x86/linux/process.hh" 82#elif THE_ISA == POWER_ISA 83#include "arch/power/linux/process.hh" 84#else 85#error "THE_ISA not set" 86#endif 87 --- 643 unchanged lines hidden (view full) --- 731 if (arch == ObjectFile::Arm64) { 732 process = new ArmLinuxProcess64(params, objFile, 733 objFile->getArch()); 734 } else { 735 process = new ArmLinuxProcess32(params, objFile, 736 objFile->getArch()); 737 } 738 break; | 81#elif THE_ISA == X86_ISA 82#include "arch/x86/linux/process.hh" 83#elif THE_ISA == POWER_ISA 84#include "arch/power/linux/process.hh" 85#else 86#error "THE_ISA not set" 87#endif 88 --- 643 unchanged lines hidden (view full) --- 732 if (arch == ObjectFile::Arm64) { 733 process = new ArmLinuxProcess64(params, objFile, 734 objFile->getArch()); 735 } else { 736 process = new ArmLinuxProcess32(params, objFile, 737 objFile->getArch()); 738 } 739 break; |
740 case ObjectFile::FreeBSD: 741 if (arch == ObjectFile::Arm64) { 742 process = new ArmFreebsdProcess64(params, objFile, 743 objFile->getArch()); 744 } else { 745 process = new ArmFreebsdProcess32(params, objFile, 746 objFile->getArch()); 747 } 748 break; |
|
739 case ObjectFile::LinuxArmOABI: 740 fatal("M5 does not support ARM OABI binaries. Please recompile with an" 741 " EABI compiler."); 742 default: 743 fatal("Unknown/unsupported operating system."); 744 } 745#elif THE_ISA == POWER_ISA 746 if (objFile->getArch() != ObjectFile::Power) --- 26 unchanged lines hidden --- | 749 case ObjectFile::LinuxArmOABI: 750 fatal("M5 does not support ARM OABI binaries. Please recompile with an" 751 " EABI compiler."); 752 default: 753 fatal("Unknown/unsupported operating system."); 754 } 755#elif THE_ISA == POWER_ISA 756 if (objFile->getArch() != ObjectFile::Power) --- 26 unchanged lines hidden --- |