utility.hh (4148:990c4663ce96) | utility.hh (4154:3c6a2c86e8aa) |
---|---|
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 * --- 46 unchanged lines hidden (view full) --- 55 * Authors: Gabe Black 56 */ 57 58#ifndef __ARCH_X86_UTILITY_HH__ 59#define __ARCH_X86_UTILITY_HH__ 60 61#include "arch/x86/types.hh" 62#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 * --- 46 unchanged lines hidden (view full) --- 55 * Authors: Gabe Black 56 */ 57 58#ifndef __ARCH_X86_UTILITY_HH__ 59#define __ARCH_X86_UTILITY_HH__ 60 61#include "arch/x86/types.hh" 62#include "base/misc.hh" |
63#include "sim/host.hh" |
|
63 64class ThreadContext; 65 66namespace X86ISA 67{ 68 static inline bool 69 inUserMode(ThreadContext *tc) 70 { --- 60 unchanged lines hidden --- | 64 65class ThreadContext; 66 67namespace X86ISA 68{ 69 static inline bool 70 inUserMode(ThreadContext *tc) 71 { --- 60 unchanged lines hidden --- |