cpu.cc (10408:a59c189de383) cpu.cc (10417:710ee116eb68)
1/*
2 * Copyright (c) 2011-2012, 2014 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
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

--- 932 unchanged lines hidden (view full) ---

941 // is the one that handles the interrupts.
942 // @todo: Possibly consolidate the interrupt checking code.
943 // @todo: Allow other threads to handle interrupts.
944
945 assert(interrupt != NoFault);
946 this->interrupts->updateIntrInfo(this->threadContexts[0]);
947
948 DPRINTF(O3CPU, "Interrupt %s being handled\n", interrupt->name());
1/*
2 * Copyright (c) 2011-2012, 2014 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
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

--- 932 unchanged lines hidden (view full) ---

941 // is the one that handles the interrupts.
942 // @todo: Possibly consolidate the interrupt checking code.
943 // @todo: Allow other threads to handle interrupts.
944
945 assert(interrupt != NoFault);
946 this->interrupts->updateIntrInfo(this->threadContexts[0]);
947
948 DPRINTF(O3CPU, "Interrupt %s being handled\n", interrupt->name());
949 this->trap(interrupt, 0, NULL);
949 this->trap(interrupt, 0, nullptr);
950}
951
952template <class Impl>
953void
950}
951
952template <class Impl>
953void
954FullO3CPU<Impl>::trap(const Fault &fault, ThreadID tid, StaticInstPtr inst)
954FullO3CPU::trap(const Fault &fault, ThreadID tid,
955 const StaticInstPtr &inst)
955{
956 // Pass the thread's TC into the invoke method.
957 fault->invoke(this->threadContexts[tid], inst);
958}
959
960template <class Impl>
961void
962FullO3CPU<Impl>::syscall(int64_t callnum, ThreadID tid)

--- 715 unchanged lines hidden ---
956{
957 // Pass the thread's TC into the invoke method.
958 fault->invoke(this->threadContexts[tid], inst);
959}
960
961template <class Impl>
962void
963FullO3CPU<Impl>::syscall(int64_t callnum, ThreadID tid)

--- 715 unchanged lines hidden ---