vtophys.hh (7087:fb8d5786ff30) | vtophys.hh (7901:f9b675da608a) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Gabe Black 38 */ 39 40#ifndef __ARCH_X86_VTOPHYS_HH__ 41#define __ARCH_X86_VTOPHYS_HH__ 42 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Gabe Black 38 */ 39 40#ifndef __ARCH_X86_VTOPHYS_HH__ 41#define __ARCH_X86_VTOPHYS_HH__ 42 |
43#include "arch/x86/isa_traits.hh" 44#include "arch/x86/pagetable.hh" | |
45#include "base/types.hh" 46 47class ThreadContext; | 43#include "base/types.hh" 44 45class ThreadContext; |
48class FunctionalPort; | |
49 50namespace X86ISA 51{ 52 53Addr vtophys(Addr vaddr); 54Addr vtophys(ThreadContext *tc, Addr vaddr); 55 56}; 57 58#endif // __ARCH_X86_VTOPHYS_HH__ | 46 47namespace X86ISA 48{ 49 50Addr vtophys(Addr vaddr); 51Addr vtophys(ThreadContext *tc, Addr vaddr); 52 53}; 54 55#endif // __ARCH_X86_VTOPHYS_HH__ |