diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-09-16 21:51:06 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-17 20:27:34 +0000 |
commit | dd9edefa15c18e27eb8050f5d929e79bf9bab7e0 (patch) | |
tree | 5c076704b19f3ccb534e4062e0cb5721a009edcb | |
parent | a3adb75b528b2e5cee1bfca84bff13f3ebe7142d (diff) |
arch/riscv/trap_handler: add missing types.h include
Both bool and uintptr_t types are used in this file, so include types.h
to have the definitions.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I647d9f50cd6edaf08bebf5d713cd05731fadfc1b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57722
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
-rw-r--r-- | src/arch/riscv/trap_handler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/riscv/trap_handler.c b/src/arch/riscv/trap_handler.c index 32b2c409f7..f940f63a5f 100644 --- a/src/arch/riscv/trap_handler.c +++ b/src/arch/riscv/trap_handler.c @@ -9,6 +9,7 @@ #include <vm.h> #include <mcall.h> #include <sbi.h> +#include <types.h> static const char *const exception_names[] = { "Instruction address misaligned", |