packet.hh (7669:cc222ba29079) | packet.hh (7687:d1ba390671ec) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * Copyright (c) 2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 408 unchanged lines hidden (view full) --- 417 bool memInhibitAsserted() { return flags.isSet(MEM_INHIBIT); } 418 void assertShared() { flags.set(SHARED); } 419 bool sharedAsserted() { return flags.isSet(SHARED); } 420 421 // Special control flags 422 void setExpressSnoop() { flags.set(EXPRESS_SNOOP); } 423 bool isExpressSnoop() { return flags.isSet(EXPRESS_SNOOP); } 424 void setSupplyExclusive() { flags.set(SUPPLY_EXCLUSIVE); } | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * Copyright (c) 2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 408 unchanged lines hidden (view full) --- 417 bool memInhibitAsserted() { return flags.isSet(MEM_INHIBIT); } 418 void assertShared() { flags.set(SHARED); } 419 bool sharedAsserted() { return flags.isSet(SHARED); } 420 421 // Special control flags 422 void setExpressSnoop() { flags.set(EXPRESS_SNOOP); } 423 bool isExpressSnoop() { return flags.isSet(EXPRESS_SNOOP); } 424 void setSupplyExclusive() { flags.set(SUPPLY_EXCLUSIVE); } |
425 void clearSupplyExclusive() { flags.clear(SUPPLY_EXCLUSIVE); } |
|
425 bool isSupplyExclusive() { return flags.isSet(SUPPLY_EXCLUSIVE); } 426 427 // Network error conditions... encapsulate them as methods since 428 // their encoding keeps changing (from result field to command 429 // field, etc.) 430 void 431 setNacked() 432 { --- 383 unchanged lines hidden --- | 426 bool isSupplyExclusive() { return flags.isSet(SUPPLY_EXCLUSIVE); } 427 428 // Network error conditions... encapsulate them as methods since 429 // their encoding keeps changing (from result field to command 430 // field, etc.) 431 void 432 setNacked() 433 { --- 383 unchanged lines hidden --- |