types.hh (7720:65d338a8dba4) | types.hh (9031:32ecc0217c5e) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 83 unchanged lines hidden (view full) --- 92const Addr MaxAddr = (Addr)-1; 93 94/** 95 * Thread index/ID type 96 */ 97typedef int16_t ThreadID; 98const ThreadID InvalidThreadID = (ThreadID)-1; 99 | 1/* 2 * Copyright (c) 2003-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; --- 83 unchanged lines hidden (view full) --- 92const Addr MaxAddr = (Addr)-1; 93 94/** 95 * Thread index/ID type 96 */ 97typedef int16_t ThreadID; 98const ThreadID InvalidThreadID = (ThreadID)-1; 99 |
100/** 101 * Port index/ID type, and a symbolic name for an invalid port id. 102 */ 103typedef int16_t PortID; 104const PortID InvalidPortID = (PortID)-1; 105 |
|
100class FaultBase; 101template <class T> class RefCountingPtr; 102typedef RefCountingPtr<FaultBase> Fault; 103 104#endif // __BASE_TYPES_HH__ | 106class FaultBase; 107template <class T> class RefCountingPtr; 108typedef RefCountingPtr<FaultBase> Fault; 109 110#endif // __BASE_TYPES_HH__ |