physical.hh (7730:982b4c6c1470) | physical.hh (7733:08d6a773d1b6) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 91 unchanged lines hidden (view full) --- 100 return (contextId == req->contextId()); 101 } 102 103 LockedAddr(Request *req) 104 : addr(mask(req->getPaddr())), 105 contextId(req->contextId()) 106 { 107 } | 1/* 2 * Copyright (c) 2001-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; --- 91 unchanged lines hidden (view full) --- 100 return (contextId == req->contextId()); 101 } 102 103 LockedAddr(Request *req) 104 : addr(mask(req->getPaddr())), 105 contextId(req->contextId()) 106 { 107 } |
108 // constructor for unserialization use 109 LockedAddr(Addr _addr, int _cid) 110 : addr(_addr), contextId(_cid) 111 { 112 } |
|
108 }; 109 110 std::list<LockedAddr> lockedAddrList; 111 112 // helper function for checkLockedAddrs(): we really want to 113 // inline a quick check for an empty locked addr list (hopefully 114 // the common case), and do the full list search (if necessary) in 115 // this out-of-line function --- 74 unchanged lines hidden --- | 113 }; 114 115 std::list<LockedAddr> lockedAddrList; 116 117 // helper function for checkLockedAddrs(): we really want to 118 // inline a quick check for an empty locked addr list (hopefully 119 // the common case), and do the full list search (if necessary) in 120 // this out-of-line function --- 74 unchanged lines hidden --- |