i82094aa.hh (9235:5aa4896ed55a) i82094aa.hh (9294:8fb03b13de02)
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
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 MasterPort &getMasterPort(const std::string &if_name, int idx = -1)
123 BaseMasterPort &getMasterPort(const std::string &if_name,
124 PortID idx = InvalidPortID)
124 {
125 if (if_name == "int_master")
126 return intMasterPort;
127 return PioDevice::getMasterPort(if_name, idx);
128 }
129
130 void signalInterrupt(int line);
131 void raiseInterruptPin(int number);
132 void lowerInterruptPin(int number);
133
134 virtual void serialize(std::ostream &os);
135 virtual void unserialize(Checkpoint *cp, const std::string &section);
136};
137
138} // namespace X86ISA
139
140#endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__
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 &section);
137};
138
139} // namespace X86ISA
140
141#endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__