packet.cc (2641:6d9d837e2032) | packet.cc (2662:f24ae2d09e27) |
---|---|
1/* 2 * Copyright (c) 2006 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) --- 92 93 if (s1 >= s2 && s1 < e2) 94 return true; 95 if (e1 >= s2 && e1 < e2) 96 return true; 97 return false; 98} 99 | 1/* 2 * Copyright (c) 2006 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) --- 92 93 if (s1 >= s2 && s1 < e2) 94 return true; 95 if (e1 >= s2 && e1 < e2) 96 return true; 97 return false; 98} 99 |
100/** Minimally reset a packet so something like simple cpu can reuse it. */ 101void 102Packet::reset() 103{ 104 result = Unknown; 105 if (dynamicData) { 106 deleteData(); 107 dynamicData = false; 108 arrayData = false; 109 time = curTick; 110 } 111} 112 113 | |
114bool 115fixPacket(Packet *func, Packet *timing) 116{ 117 panic("Need to implement!"); 118} | 100bool 101fixPacket(Packet *func, Packet *timing) 102{ 103 panic("Need to implement!"); 104} |