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_VTOPHYS_HH__ 59#define __ARCH_X86_VTOPHYS_HH__ 60 61#include "arch/x86/isa_traits.hh" 62#include "arch/x86/pagetable.hh" |
63#include "base/types.hh" |
64 65class ThreadContext; 66class FunctionalPort; 67 68namespace X86ISA 69{ 70 71Addr vtophys(Addr vaddr); 72Addr vtophys(ThreadContext *tc, Addr vaddr); 73 74}; 75 76#endif // __ARCH_X86_VTOPHYS_HH__ |