summaryrefslogtreecommitdiff
path: root/src/arch/arm/utility.cc
blob: 8cfa48e18cc86a3957e3769ecf3fe0897cead38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include <arch/arm/utility.hh>
#include <cpu/thread_context.hh>


namespace ArmISA {

void
initCPU(ThreadContext *tc, int cpuId)
{
    // Reset CP15?? What does that mean -- ali
    
    // FPEXC.EN = 0
    
    static Fault reset = new Reset();
    if (cpuId == 0)
        reset->invoke(tc);
}