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), |
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 { 73#ifndef NDEBUG 74 kernelPanicEvent = addKernelFuncEventOrPanic<BreakPCEvent>("panic"); --- 279 unchanged lines hidden --- |