system.cc (10537:47fe87b0cf97) | system.cc (10810:683ab55819fd) |
---|---|
1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 47 unchanged lines hidden (view full) --- 56#include "mem/fs_translating_port_proxy.hh" 57#include "mem/physical.hh" 58#include "sim/stat_control.hh" 59 60using namespace ArmISA; 61using namespace Linux; 62 63LinuxArmSystem::LinuxArmSystem(Params *p) | 1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 47 unchanged lines hidden (view full) --- 56#include "mem/fs_translating_port_proxy.hh" 57#include "mem/physical.hh" 58#include "sim/stat_control.hh" 59 60using namespace ArmISA; 61using namespace Linux; 62 63LinuxArmSystem::LinuxArmSystem(Params *p) |
64 : ArmSystem(p), dumpStatsPCEvent(nullptr), | 64 : GenericArmSystem(p), dumpStatsPCEvent(nullptr), |
65 enableContextSwitchStatsDump(p->enable_context_switch_stats_dump), 66 taskFile(nullptr), kernelPanicEvent(nullptr), kernelOopsEvent(nullptr), 67 bootReleaseAddr(p->boot_release_addr) 68{ 69 if (p->panic_on_panic) { 70 kernelPanicEvent = addKernelFuncEventOrPanic<PanicPCEvent>( 71 "panic", "Kernel panic in simulated kernel"); 72 } else { --- 55 unchanged lines hidden (view full) --- 128 129void 130LinuxArmSystem::initState() 131{ 132 // Moved from the constructor to here since it relies on the 133 // address map being resolved in the interconnect 134 135 // Call the initialisation of the super class | 65 enableContextSwitchStatsDump(p->enable_context_switch_stats_dump), 66 taskFile(nullptr), kernelPanicEvent(nullptr), kernelOopsEvent(nullptr), 67 bootReleaseAddr(p->boot_release_addr) 68{ 69 if (p->panic_on_panic) { 70 kernelPanicEvent = addKernelFuncEventOrPanic<PanicPCEvent>( 71 "panic", "Kernel panic in simulated kernel"); 72 } else { --- 55 unchanged lines hidden (view full) --- 128 129void 130LinuxArmSystem::initState() 131{ 132 // Moved from the constructor to here since it relies on the 133 // address map being resolved in the interconnect 134 135 // Call the initialisation of the super class |
136 ArmSystem::initState(); | 136 GenericArmSystem::initState(); |
137 138 // Load symbols at physical address, we might not want 139 // to do this permanently, for but early bootup work 140 // it is helpful. 141 if (params()->early_kernel_symbols) { 142 kernel->loadGlobalSymbols(kernelSymtab, loadAddrMask); 143 kernel->loadGlobalSymbols(debugSymbolTable, loadAddrMask); 144 } --- 209 unchanged lines hidden --- | 137 138 // Load symbols at physical address, we might not want 139 // to do this permanently, for but early bootup work 140 // it is helpful. 141 if (params()->early_kernel_symbols) { 142 kernel->loadGlobalSymbols(kernelSymtab, loadAddrMask); 143 kernel->loadGlobalSymbols(debugSymbolTable, loadAddrMask); 144 } --- 209 unchanged lines hidden --- |