utility.cc (8852:c744483edfcf) | utility.cc (8886:5e8d2d7162b0) |
---|---|
1/* 2 * Copyright (c) 2009-2010 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 --- 30 unchanged lines hidden (view full) --- 39 40 41#include "arch/arm/faults.hh" 42#include "arch/arm/isa_traits.hh" 43#include "arch/arm/tlb.hh" 44#include "arch/arm/utility.hh" 45#include "arch/arm/vtophys.hh" 46#include "config/use_checker.hh" | 1/* 2 * Copyright (c) 2009-2010 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 --- 30 unchanged lines hidden (view full) --- 39 40 41#include "arch/arm/faults.hh" 42#include "arch/arm/isa_traits.hh" 43#include "arch/arm/tlb.hh" 44#include "arch/arm/utility.hh" 45#include "arch/arm/vtophys.hh" 46#include "config/use_checker.hh" |
47#include "cpu/base.hh" |
|
47#include "cpu/thread_context.hh" 48#include "mem/fs_translating_port_proxy.hh" | 48#include "cpu/thread_context.hh" 49#include "mem/fs_translating_port_proxy.hh" |
50#include "params/BaseCPU.hh" |
|
49#include "sim/full_system.hh" 50 51namespace ArmISA { 52 53void 54initCPU(ThreadContext *tc, int cpuId) 55{ 56 // Reset CP15?? What does that mean -- ali 57 58 // FPEXC.EN = 0 | 51#include "sim/full_system.hh" 52 53namespace ArmISA { 54 55void 56initCPU(ThreadContext *tc, int cpuId) 57{ 58 // Reset CP15?? What does that mean -- ali 59 60 // FPEXC.EN = 0 |
59 | 61 if (tc->getCpuPtr()->params()->defer_registration) 62 return; 63 |
60 static Fault reset = new Reset; 61 reset->invoke(tc); 62} 63 64uint64_t 65getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) 66{ 67 if (!FullSystem) { --- 105 unchanged lines hidden --- | 64 static Fault reset = new Reset; 65 reset->invoke(tc); 66} 67 68uint64_t 69getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) 70{ 71 if (!FullSystem) { --- 105 unchanged lines hidden --- |