src/include: Add missing includes

Change-Id: I746ea7805bae553a146130994d8174aa2e189610
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43368
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS
2020-07-12 09:03:22 +02:00
committed by Patrick Georgi
parent 722e610fbc
commit 5817c56d19
31 changed files with 45 additions and 4 deletions

View File

@@ -4,8 +4,8 @@
#define __ACPI_ACPI_DEVICE_H__
#include <device/i2c.h>
#include <stdint.h>
#include <spi-generic.h>
#include <types.h>
enum acpi_dp_type {
ACPI_DP_TYPE_UNKNOWN,

View File

@@ -11,6 +11,8 @@
#ifndef __ACPI_ACPI_IVRS_H__
#define __ACPI_ACPI_IVRS_H__
#include <stdint.h>
/* I/O Virtualization Reporting Structure (IVRS) */
#define IVHD_BLOCK_TYPE_LEGACY__FIXED 0x10
#define IVHD_BLOCK_TYPE_FULL__FIXED 0x11

View File

@@ -3,6 +3,7 @@
#ifndef __ACPI_ACPIGEN_H__
#define __ACPI_ACPIGEN_H__
#include <stddef.h>
#include <stdint.h>
#include <acpi/acpi.h>
#include <acpi/acpi_device.h>

View File

@@ -5,6 +5,7 @@
#include <device/device.h>
#include <stdbool.h>
#include <stdint.h>
/* A common idiom is to use a default value if none is provided (i.e., == 0) */
#define DEFAULT_IF_0(thing, default_) ((thing) ? (thing) : (default_))