request.hh (3806:65ae5388c059) | request.hh (3823:1c8f87aa103e) |
---|---|
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; --- 220 unchanged lines hidden (view full) --- 229 /** Accessor function for asi.*/ 230 void setAsi(uint8_t a) 231 { assert(validAsidVaddr); flags = (flags & ~ASI_BITS) | a; } 232 233 /** Accessor function for asi.*/ 234 bool isMmapedIpr() { assert(validPaddr); return mmapedIpr; } 235 236 /** Accessor function for asi.*/ | 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; --- 220 unchanged lines hidden (view full) --- 229 /** Accessor function for asi.*/ 230 void setAsi(uint8_t a) 231 { assert(validAsidVaddr); flags = (flags & ~ASI_BITS) | a; } 232 233 /** Accessor function for asi.*/ 234 bool isMmapedIpr() { assert(validPaddr); return mmapedIpr; } 235 236 /** Accessor function for asi.*/ |
237 void setMmapedIpr(bool r) { assert(validPaddr); mmapedIpr = r; } | 237 void setMmapedIpr(bool r) { assert(validAsidVaddr); mmapedIpr = r; } |
238 239 /** Accessor function to check if sc result is valid. */ 240 bool scResultValid() { return validScResult; } 241 /** Accessor function for store conditional return value.*/ 242 uint64_t getScResult() { assert(validScResult); return scResult; } 243 /** Accessor function for store conditional return value.*/ 244 void setScResult(uint64_t _scResult) 245 { scResult = _scResult; validScResult = true; } --- 20 unchanged lines hidden --- | 238 239 /** Accessor function to check if sc result is valid. */ 240 bool scResultValid() { return validScResult; } 241 /** Accessor function for store conditional return value.*/ 242 uint64_t getScResult() { assert(validScResult); return scResult; } 243 /** Accessor function for store conditional return value.*/ 244 void setScResult(uint64_t _scResult) 245 { scResult = _scResult; validScResult = true; } --- 20 unchanged lines hidden --- |