Deleted Added
sdiff udiff text old ( 11299:72046b9b3323 ) new ( 11701:5e7599457b97 )
full compact
1/*
2 * Copyright (c) 2004-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;

--- 1071 unchanged lines hidden (view full) ---

1080 break;
1081
1082 case txCopy:
1083 DPRINTF(EthernetSM, "transmit machine still copying\n");
1084 goto exit;
1085
1086 case txCopyDone:
1087 vnic->TxDone = txDmaLen | Regs::TxDone_Complete;
1088 txPacket->length += txDmaLen;
1089 if ((vnic->TxData & Regs::TxData_More)) {
1090 txPacketOffset += txDmaLen;
1091 txState = txIdle;
1092 devIntrPost(Regs::Intr_TxDMA);
1093 break;
1094 }
1095

--- 394 unchanged lines hidden (view full) ---

1490 UNSERIALIZE_SCALAR(txState);
1491 UNSERIALIZE_SCALAR(txFull);
1492 this->txState = (TxState) txState;
1493 txFifo.unserialize("txFifo", cp);
1494 bool txPacketExists;
1495 UNSERIALIZE_SCALAR(txPacketExists);
1496 txPacket = 0;
1497 if (txPacketExists) {
1498 txPacket = make_shared<EthPacketData>(16384);
1499 txPacket->unserialize("txPacket", cp);
1500 UNSERIALIZE_SCALAR(txPacketOffset);
1501 UNSERIALIZE_SCALAR(txPacketBytes);
1502 }
1503
1504 /*
1505 * unserialize the virtual nic registers/state
1506 *

--- 56 unchanged lines hidden ---