utility.hh (5910:62c521c36f61) utility.hh (6214:1ec0ec8933ae)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

58#ifndef __ARCH_X86_UTILITY_HH__
59#define __ARCH_X86_UTILITY_HH__
60
61#include "arch/x86/types.hh"
62#include "base/hashmap.hh"
63#include "base/misc.hh"
64#include "config/full_system.hh"
65#include "cpu/thread_context.hh"
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

58#ifndef __ARCH_X86_UTILITY_HH__
59#define __ARCH_X86_UTILITY_HH__
60
61#include "arch/x86/types.hh"
62#include "base/hashmap.hh"
63#include "base/misc.hh"
64#include "config/full_system.hh"
65#include "cpu/thread_context.hh"
66#include "sim/host.hh"
66#include "base/types.hh"
67
68class ThreadContext;
69
70namespace __hash_namespace {
71 template<>
72 struct hash<X86ISA::ExtMachInst> {
73 size_t operator()(const X86ISA::ExtMachInst &emi) const {
74 return (((uint64_t)emi.legacy << 56) |

--- 84 unchanged lines hidden ---
67
68class ThreadContext;
69
70namespace __hash_namespace {
71 template<>
72 struct hash<X86ISA::ExtMachInst> {
73 size_t operator()(const X86ISA::ExtMachInst &emi) const {
74 return (((uint64_t)emi.legacy << 56) |

--- 84 unchanged lines hidden ---