blob: a941ae161435fdf0dff63774b7b535a362693f90 [file] [log] [blame]
Sven Schnelleaa03af72012-06-22 11:04:22 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 Sven Schnelle <svens@stackframe.org>
Alexandru Gagniuc83a6dbd2012-08-22 19:12:49 -05005 * Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
Sven Schnelleaa03af72012-06-22 11:04:22 +02006 *
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 Schnelleaa03af72012-06-22 11:04:22 +020015 */
16
17#ifndef DRIVERS_GENERIC_IOAPIC_CHIP_H
18#define DRIVERS_GENERIC_IOAPIC_CHIP_H
19
Alexandru Gagniuc83a6dbd2012-08-22 19:12:49 -050020typedef struct drivers_generic_ioapic_config {
Sven Schnelleaa03af72012-06-22 11:04:22 +020021 u32 version;
22 u8 apicid;
23 u8 irq_on_fsb;
24 u8 enable_virtual_wire;
25 u8 have_isa_interrupts;
Kevin Paul Herbertbde6d302014-12-24 18:43:20 -080026 void *base;
Alexandru Gagniuc83a6dbd2012-08-22 19:12:49 -050027} ioapic_config_t;
28
Sven Schnelleaa03af72012-06-22 11:04:22 +020029#endif