pagetable.hh (2984:797622d7b311) pagetable.hh (3614:70e12b0fe41e)
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
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
42 struct VAddr
43 {
44 static const int ImplBits = 43;
45 static const Addr ImplMask = (ULL(1) << ImplBits) - 1;
46 static const Addr UnImplMask = ~ImplMask;
47
48 VAddr(Addr a) : addr(a) {}
49 Addr addr;

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

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