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; --- 66 unchanged lines hidden (view full) --- 75 int _rsv0() const { return (entry >> 14) & 0x3; } 76 bool _uwe() const { return (entry >> 13) & 0x1; } 77 bool _kwe() const { return (entry >> 12) & 0x1; } 78 int _rsv1() const { return (entry >> 10) & 0x3; } 79 bool _ure() const { return (entry >> 9) & 0x1; } 80 bool _kre() const { return (entry >> 8) & 0x1; } 81 bool _nomb() const { return (entry >> 7) & 0x1; } 82 int _gh() const { return (entry >> 5) & 0x3; } |
83 bool _asm_() const { return (entry >> 4) & 0x1; } |
84 bool _foe() const { return (entry >> 3) & 0x1; } 85 bool _fow() const { return (entry >> 2) & 0x1; } 86 bool _for() const { return (entry >> 1) & 0x1; } 87 bool valid() const { return (entry >> 0) & 0x1; } 88 89 Addr paddr() const { return _pfn() << PageShift; } 90 }; 91 --- 20 unchanged lines hidden --- |