1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 24 unchanged lines hidden (view full) ---

33#define __ARCH_ALPHA_PAGETABLE_H__
34
35#include "arch/alpha/isa_traits.hh"
36#include "arch/alpha/utility.hh"
37#include "config/full_system.hh"
38
39namespace AlphaISA {
40
41#if FULL_SYSTEM
41 struct VAddr
42 {
43 static const int ImplBits = 43;
44 static const Addr ImplMask = (ULL(1) << ImplBits) - 1;
45 static const Addr UnImplMask = ~ImplMask;
46
47 VAddr(Addr a) : addr(a) {}
48 Addr addr;

--- 51 unchanged lines hidden (view full) ---

100 bool asma; // address space match
101 bool fonr; // fault on read
102 bool fonw; // fault on write
103 bool valid; // valid page table entry
104
105 void serialize(std::ostream &os);
106 void unserialize(Checkpoint *cp, const std::string &section);
107 };
109#endif
108
109};
110#endif // __ARCH_ALPHA_PAGETABLE_H__
111