Deleted Added
sdiff udiff text old ( 9808:13ffc0066b76 ) new ( 10565:23593fdaadcd )
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;

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

73 DPRINTF(Malta, "read va=%#x size=%d\n", pkt->getAddr(), pkt->getSize());
74
75 assert(pkt->result == Packet::Unknown);
76 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize);
77
78 Addr regnum = (pkt->getAddr() - pioAddr) >> 6;
79 Addr daddr = (pkt->getAddr() - pioAddr);
80
81 pkt->allocate();
82 switch (pkt->getSize()) {
83
84 case sizeof(uint64_t):
85 if (daddr & TSDEV_CC_BDIMS)
86 {
87 pkt->set(dim[(daddr >> 4) & 0x3F]);
88 break;
89 }

--- 440 unchanged lines hidden ---