From aa03af74f177ba6d13b54b34d96cceec609e889f Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Fri, 22 Jun 2012 11:04:22 +0200 Subject: Add generic IOAPIC driver Used for automatic generation of IOAPIC interrupt entries. Change-Id: Ia746f01906c840800956ce551306f864e440b6ec Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/1137 Tested-by: build bot (Jenkins) --- src/drivers/generic/ioapic/chip.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/drivers/generic/ioapic/chip.h (limited to 'src/drivers/generic/ioapic/chip.h') diff --git a/src/drivers/generic/ioapic/chip.h b/src/drivers/generic/ioapic/chip.h new file mode 100644 index 0000000000..f6b298f077 --- /dev/null +++ b/src/drivers/generic/ioapic/chip.h @@ -0,0 +1,32 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2011 Sven Schnelle + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef DRIVERS_GENERIC_IOAPIC_CHIP_H +#define DRIVERS_GENERIC_IOAPIC_CHIP_H + +extern struct chip_operations drivers_generic_ioapic_ops; +struct drivers_generic_ioapic_config { + u32 version; + u8 apicid; + u8 irq_on_fsb; + u8 enable_virtual_wire; + u8 have_isa_interrupts; + u32 base; +}; +#endif -- cgit v1.2.3