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; --- 82 unchanged lines hidden (view full) --- 91{ 92 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 93 94 Addr daddr = pkt->getAddr() - pioAddr; 95 96 DPRINTF(Tsunami, "io read va=%#x size=%d IOPorrt=%#x\n", pkt->getAddr(), 97 pkt->getSize(), daddr); 98 |
99 if (pkt->getSize() == sizeof(uint8_t)) { 100 switch(daddr) { 101 // PIC1 mask read 102 case TSDEV_PIC1_MASK: 103 pkt->set(~mask1); 104 break; 105 case TSDEV_PIC2_MASK: 106 pkt->set(~mask2); --- 185 unchanged lines hidden --- |