pagetable.hh (5184:8782de2949e5) | pagetable.hh (5543:3af77710f397) |
---|---|
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; --- 96 unchanged lines hidden (view full) --- 105 asma = false; 106 fonr = false; 107 fonw = false; 108 valid = true; 109 } 110 TlbEntry() 111 {} 112 | 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; --- 96 unchanged lines hidden (view full) --- 105 asma = false; 106 fonr = false; 107 fonw = false; 108 valid = true; 109 } 110 TlbEntry() 111 {} 112 |
113 Addr tag; // virtual page number tag 114 Addr ppn; // physical page number 115 uint8_t xre; // read permissions - VMEM_PERM_* mask 116 uint8_t xwe; // write permissions - VMEM_PERM_* mask 117 uint8_t asn; // address space number 118 bool asma; // address space match 119 bool fonr; // fault on read 120 bool fonw; // fault on write 121 bool valid; // valid page table entry | 113 Addr tag; // virtual page number tag 114 Addr ppn; // physical page number 115 uint8_t xre; // read permissions - VMEM_PERM_* mask 116 uint8_t xwe; // write permissions - VMEM_PERM_* mask 117 uint8_t asn; // address space number 118 bool asma; // address space match 119 bool fonr; // fault on read 120 bool fonw; // fault on write 121 bool valid; // valid page table entry |
122 123 Addr pageStart() 124 { 125 return ppn << PageShift; 126 } 127 128 void serialize(std::ostream &os); 129 void unserialize(Checkpoint *cp, const std::string §ion); 130 }; 131 132}; 133#endif // __ARCH_ALPHA_PAGETABLE_H__ 134 | 122 123 Addr pageStart() 124 { 125 return ppn << PageShift; 126 } 127 128 void serialize(std::ostream &os); 129 void unserialize(Checkpoint *cp, const std::string §ion); 130 }; 131 132}; 133#endif // __ARCH_ALPHA_PAGETABLE_H__ 134 |