mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
pc: Generalize ISA IRQs to GSIs
The ISA bus IRQ range is 0..15. What isa_irq_handler and IsaIrqState are actually dealing with are the Global System Interrupts. Refactor the code to clarify this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
2e9947d2ea
commit
b881fbe9f7
5 changed files with 42 additions and 31 deletions
|
@ -17,4 +17,11 @@
|
|||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_IOAPIC_H
|
||||
#define HW_IOAPIC_H
|
||||
|
||||
#define IOAPIC_NUM_PINS 24
|
||||
|
||||
void ioapic_eoi_broadcast(int vector);
|
||||
|
||||
#endif /* !HW_IOAPIC_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue