tsunami_cchip.cc (9808:13ffc0066b76) | tsunami_cchip.cc (10565:23593fdaadcd) |
---|---|
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; --- 69 unchanged lines hidden (view full) --- 78{ 79 DPRINTF(Tsunami, "read va=%#x size=%d\n", pkt->getAddr(), pkt->getSize()); 80 81 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 82 83 Addr regnum = (pkt->getAddr() - pioAddr) >> 6; 84 Addr daddr = (pkt->getAddr() - pioAddr); 85 | 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; --- 69 unchanged lines hidden (view full) --- 78{ 79 DPRINTF(Tsunami, "read va=%#x size=%d\n", pkt->getAddr(), pkt->getSize()); 80 81 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 82 83 Addr regnum = (pkt->getAddr() - pioAddr) >> 6; 84 Addr daddr = (pkt->getAddr() - pioAddr); 85 |
86 pkt->allocate(); | |
87 switch (pkt->getSize()) { 88 89 case sizeof(uint64_t): 90 pkt->set<uint64_t>(0); 91 92 if (daddr & TSDEV_CC_BDIMS) 93 { 94 pkt->set(dim[(daddr >> 4) & 0x3F]); --- 440 unchanged lines hidden --- | 86 switch (pkt->getSize()) { 87 88 case sizeof(uint64_t): 89 pkt->set<uint64_t>(0); 90 91 if (daddr & TSDEV_CC_BDIMS) 92 { 93 pkt->set(dim[(daddr >> 4) & 0x3F]); --- 440 unchanged lines hidden --- |