i8259.cc (5686:f33045b4dbee) i8259.cc (5687:cec3cfa0b6b5)
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;

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

96 } else if (bits(val, 4, 3) == 0) {
97 DPRINTF(I8259, "Received operation command word 2.\n");
98 switch (bits(val, 7, 5)) {
99 case 0x0:
100 DPRINTF(I8259,
101 "Subcommand: Rotate in auto-EOI mode (clear).\n");
102 break;
103 case 0x1:
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;

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

96 } else if (bits(val, 4, 3) == 0) {
97 DPRINTF(I8259, "Received operation command word 2.\n");
98 switch (bits(val, 7, 5)) {
99 case 0x0:
100 DPRINTF(I8259,
101 "Subcommand: Rotate in auto-EOI mode (clear).\n");
102 break;
103 case 0x1:
104 DPRINTF(I8259, "Subcommand: Nonspecific EOI.\n");
104 {
105 int line = findMsbSet(ISR);
106 DPRINTF(I8259, "Subcommand: Nonspecific EOI on line %d.\n",
107 line);
108 handleEOI(line);
109 }
105 break;
106 case 0x2:
107 DPRINTF(I8259, "Subcommand: No operation.\n");
108 break;
109 case 0x3:
110 {
111 int line = bits(val, 2, 0);
112 DPRINTF(I8259, "Subcommand: Specific EIO on line %d.\n",

--- 164 unchanged lines hidden ---
110 break;
111 case 0x2:
112 DPRINTF(I8259, "Subcommand: No operation.\n");
113 break;
114 case 0x3:
115 {
116 int line = bits(val, 2, 0);
117 DPRINTF(I8259, "Subcommand: Specific EIO on line %d.\n",

--- 164 unchanged lines hidden ---