src/acpi: Add missing <{stdbool,stdint}.h>
Change-Id: Ic09c04cfa18408c61d7e99ea29bccc23acbd7144 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43956 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
b84bd303ee
commit
441e191530
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
#include <acpi/acpigen.h>
|
#include <acpi/acpigen.h>
|
||||||
#include <acpi/acpigen_dptf.h>
|
#include <acpi/acpigen_dptf.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Defaults */
|
/* Defaults */
|
||||||
#define DEFAULT_RAW_UNIT "ma"
|
#define DEFAULT_RAW_UNIT "ma"
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
#include <acpi/acpigen_ps2_keybd.h>
|
#include <acpi/acpigen_ps2_keybd.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <input-event-codes.h>
|
#include <input-event-codes.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#define KEYMAP(scancode, keycode) (((uint32_t)(scancode) << 16) | (keycode & 0xFFFF))
|
#define KEYMAP(scancode, keycode) (((uint32_t)(scancode) << 16) | (keycode & 0xFFFF))
|
||||||
#define SCANCODE(keymap) ((keymap >> 16) & 0xFFFF)
|
#define SCANCODE(keymap) ((keymap >> 16) & 0xFFFF)
|
||||||
|
|
Loading…
Reference in New Issue