summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-16 21:51:06 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-17 20:27:34 +0000
commitdd9edefa15c18e27eb8050f5d929e79bf9bab7e0 (patch)
tree5c076704b19f3ccb534e4062e0cb5721a009edcb /src
parenta3adb75b528b2e5cee1bfca84bff13f3ebe7142d (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>
Diffstat (limited to 'src')
-rw-r--r--src/arch/riscv/trap_handler.c1
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",