utility.hh (7189:28998288c48b) utility.hh (7408:ee6949c5bb5b)
1/*
2 * Copyright (c) 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

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

43 */
44
45#ifndef __ARCH_ARM_UTILITY_HH__
46#define __ARCH_ARM_UTILITY_HH__
47
48#include "arch/arm/miscregs.hh"
49#include "arch/arm/types.hh"
50#include "base/hashmap.hh"
1/*
2 * Copyright (c) 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

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

43 */
44
45#ifndef __ARCH_ARM_UTILITY_HH__
46#define __ARCH_ARM_UTILITY_HH__
47
48#include "arch/arm/miscregs.hh"
49#include "arch/arm/types.hh"
50#include "base/hashmap.hh"
51#include "base/trace.hh"
51#include "base/types.hh"
52#include "cpu/thread_context.hh"
53
54namespace __hash_namespace {
55 template<>
56 struct hash<ArmISA::ExtMachInst> : public hash<uint32_t> {
57 size_t operator()(const ArmISA::ExtMachInst &emi) const {
58 return hash<uint32_t>::operator()((uint32_t)emi);

--- 113 unchanged lines hidden ---
52#include "base/types.hh"
53#include "cpu/thread_context.hh"
54
55namespace __hash_namespace {
56 template<>
57 struct hash<ArmISA::ExtMachInst> : public hash<uint32_t> {
58 size_t operator()(const ArmISA::ExtMachInst &emi) const {
59 return hash<uint32_t>::operator()((uint32_t)emi);

--- 113 unchanged lines hidden ---