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; --- 114 unchanged lines hidden (view full) --- 123 switch (initControlWord) { 124 case 0x0: 125 DPRINTF(I8259, "Received operation command word 1.\n"); 126 DPRINTF(I8259, "Wrote IMR value %#x.\n", val); 127 IMR = val; 128 break; 129 case 0x1: 130 DPRINTF(I8259, "Received initialization command word 2.\n"); |
131 vectorOffset = val & ~mask(3); |
132 DPRINTF(I8259, "Responsible for vectors %#x-%#x.\n", |
133 vectorOffset, vectorOffset | mask(3)); |
134 if (cascadeMode) { 135 initControlWord++; 136 } else { 137 cascadeBits = 0; 138 initControlWord = 0; 139 } 140 break; 141 case 0x2: --- 70 unchanged lines hidden --- |