A lot of the v3 header files require other header files to be #included
before they can be #included. That is completely counter-intuitive. Add necessary #includes to the header files themselves. Fix a few cases where nonexisting files were #included. Compile tested on Qemu and Alix1C. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://coreboot.org/repository/coreboot-v3@611 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
975d9ef2ef
commit
31a9e22fa4
14 changed files with 21 additions and 2 deletions
|
|
@ -20,6 +20,8 @@
|
|||
#ifndef CPU_X86_MSR_H
|
||||
#define CPU_X86_MSR_H
|
||||
|
||||
#include <types.h>
|
||||
|
||||
/* standard MSR operations, everyone has written these one hundred times */
|
||||
struct msr {
|
||||
u32 lo;
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
#ifndef ARCH_X86_PCI_OPS_H
|
||||
#define ARCH_X86_PCI_OPS_H
|
||||
|
||||
#include <device/device.h>
|
||||
|
||||
extern const struct pci_bus_operations pci_cf8_conf1;
|
||||
extern const struct pci_bus_operations pci_cf8_conf2;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@
|
|||
#ifndef ARCH_PIRQ_ROUTING_H
|
||||
#define ARCH_PIRQ_ROUTING_H
|
||||
|
||||
#include <types.h>
|
||||
|
||||
#define PIRQ_SIGNATURE (('$' << 0) + ('P' << 8) + ('I' << 16) + ('R' << 24))
|
||||
#define PIRQ_VERSION 0x0100
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue