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 *
--- 56 unchanged lines hidden (view full) ---
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 {
73 //Because these are all the same, return 0
74 return 0;
75 };
76 };
77}
78
79namespace X86ISA
80{
81 static inline bool
82 inUserMode(ThreadContext *tc)
--- 61 unchanged lines hidden ---
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 *
--- 56 unchanged lines hidden (view full) ---
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 {
73 //Because these are all the same, return 0
74 return 0;
75 };
76 };
77}
78
79namespace X86ISA
80{
81 static inline bool
82 inUserMode(ThreadContext *tc)
--- 61 unchanged lines hidden ---