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; --- 106 unchanged lines hidden (view full) --- 115 x86InterruptAddress(initialApicId, 0) + 116 PhysAddrAPICRangeSize)); 117 return ranges; 118 } 119 120 void writeReg(uint8_t offset, uint32_t value); 121 uint32_t readReg(uint8_t offset); 122 |
123 BaseMasterPort &getMasterPort(const std::string &if_name, 124 PortID idx = InvalidPortID) |
125 { 126 if (if_name == "int_master") 127 return intMasterPort; 128 return PioDevice::getMasterPort(if_name, idx); 129 } 130 131 void signalInterrupt(int line); 132 void raiseInterruptPin(int number); 133 void lowerInterruptPin(int number); 134 135 virtual void serialize(std::ostream &os); 136 virtual void unserialize(Checkpoint *cp, const std::string §ion); 137}; 138 139} // namespace X86ISA 140 141#endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__ |