mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Fix for gcc issues.
updated pci_ids.h
This commit is contained in:
parent
5691f23e61
commit
1a036302c7
3 changed files with 586 additions and 121 deletions
|
@ -26,7 +26,11 @@ struct irq_routing_table {
|
||||||
u32 miniport_data; /* Crap */
|
u32 miniport_data; /* Crap */
|
||||||
u8 rfu[11];
|
u8 rfu[11];
|
||||||
u8 checksum; /* Modulo 256 checksum must give zero */
|
u8 checksum; /* Modulo 256 checksum must give zero */
|
||||||
|
#if GCC_VERSION < 3000
|
||||||
|
struct irq_info slots[1];
|
||||||
|
#else
|
||||||
struct irq_info slots[];
|
struct irq_info slots[];
|
||||||
|
#endif
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
extern const struct irq_routing_table intel_irq_routing_table;
|
extern const struct irq_routing_table intel_irq_routing_table;
|
||||||
|
|
|
@ -4,6 +4,8 @@ object hardwaremain.o
|
||||||
object pirq_routing.o HAVE_PIRQ_TABLE
|
object pirq_routing.o HAVE_PIRQ_TABLE
|
||||||
object vgabios.o CONFIG_VGABIOS
|
object vgabios.o CONFIG_VGABIOS
|
||||||
object idt.o CONFIG_REALMODE_IDT
|
object idt.o CONFIG_REALMODE_IDT
|
||||||
|
object pci-irq.c CONFIG_PCIBIOS_IRQ
|
||||||
option CONFIG_LOGICAL_CPUS=1
|
option CONFIG_LOGICAL_CPUS=1
|
||||||
|
option CONFIG_PCIBIOS_IRQ=0
|
||||||
object c_start.S
|
object c_start.S
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue