pc.cc (5844:144524795dfe) | pc.cc (6073:d552a9544974) |
---|---|
1/* 2 * Copyright (c) 2008 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; --- 93 unchanged lines hidden (view full) --- 102 ioApic.writeReg(0x28, entry.bottomDW); 103 ioApic.writeReg(0x29, entry.topDW); 104 entry.vector = 0x2E; 105 ioApic.writeReg(0x2C, entry.bottomDW); 106 ioApic.writeReg(0x2D, entry.topDW); 107 entry.vector = 0x30; 108 ioApic.writeReg(0x30, entry.bottomDW); 109 ioApic.writeReg(0x31, entry.topDW); | 1/* 2 * Copyright (c) 2008 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; --- 93 unchanged lines hidden (view full) --- 102 ioApic.writeReg(0x28, entry.bottomDW); 103 ioApic.writeReg(0x29, entry.topDW); 104 entry.vector = 0x2E; 105 ioApic.writeReg(0x2C, entry.bottomDW); 106 ioApic.writeReg(0x2D, entry.topDW); 107 entry.vector = 0x30; 108 ioApic.writeReg(0x30, entry.bottomDW); 109 ioApic.writeReg(0x31, entry.topDW); |
110 111 /* 112 * Mask the PICs. I'm presuming the BIOS/bootloader would have cleared 113 * these out and masked them before passing control to the OS. 114 */ 115 southBridge->pic1->maskAll(); 116 southBridge->pic2->maskAll(); |
|
110} 111 112Tick 113Pc::intrFrequency() 114{ 115 panic("Need implementation for intrFrequency\n"); 116 M5_DUMMY_RETURN 117} --- 59 unchanged lines hidden --- | 117} 118 119Tick 120Pc::intrFrequency() 121{ 122 panic("Need implementation for intrFrequency\n"); 123 M5_DUMMY_RETURN 124} --- 59 unchanged lines hidden --- |