utility.hh (4240:cde9d7751cce) | utility.hh (4241:0a4218540c6d) |
---|---|
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 * --- 47 unchanged lines hidden (view full) --- 56 */ 57 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" | 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 * --- 47 unchanged lines hidden (view full) --- 56 */ 57 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 "cpu/thread_context.hh" |
|
64#include "sim/host.hh" 65 66class ThreadContext; 67 68namespace __hash_namespace { 69 template<> 70 struct hash<X86ISA::ExtMachInst> { 71 size_t operator()(const X86ISA::ExtMachInst &emi) const { --- 71 unchanged lines hidden --- | 65#include "sim/host.hh" 66 67class ThreadContext; 68 69namespace __hash_namespace { 70 template<> 71 struct hash<X86ISA::ExtMachInst> { 72 size_t operator()(const X86ISA::ExtMachInst &emi) const { --- 71 unchanged lines hidden --- |