Sven Schnelle | aa03af7 | 2012-06-22 11:04:22 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> |
Alexandru Gagniuc | 83a6dbd | 2012-08-22 19:12:49 -0500 | [diff] [blame] | 5 | * Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com> |
Sven Schnelle | aa03af7 | 2012-06-22 11:04:22 +0200 | [diff] [blame] | 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; version 2 of the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Sven Schnelle | aa03af7 | 2012-06-22 11:04:22 +0200 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #ifndef DRIVERS_GENERIC_IOAPIC_CHIP_H |
| 18 | #define DRIVERS_GENERIC_IOAPIC_CHIP_H |
| 19 | |
Alexandru Gagniuc | 83a6dbd | 2012-08-22 19:12:49 -0500 | [diff] [blame] | 20 | typedef struct drivers_generic_ioapic_config { |
Sven Schnelle | aa03af7 | 2012-06-22 11:04:22 +0200 | [diff] [blame] | 21 | u32 version; |
| 22 | u8 apicid; |
| 23 | u8 irq_on_fsb; |
| 24 | u8 enable_virtual_wire; |
| 25 | u8 have_isa_interrupts; |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 26 | void *base; |
Alexandru Gagniuc | 83a6dbd | 2012-08-22 19:12:49 -0500 | [diff] [blame] | 27 | } ioapic_config_t; |
| 28 | |
Sven Schnelle | aa03af7 | 2012-06-22 11:04:22 +0200 | [diff] [blame] | 29 | #endif |