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>
This commit is contained in:
Felix Held 2021-09-16 21:51:06 +02:00 committed by Felix Held
parent a3adb75b52
commit dd9edefa15
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#include <vm.h> #include <vm.h>
#include <mcall.h> #include <mcall.h>
#include <sbi.h> #include <sbi.h>
#include <types.h>
static const char *const exception_names[] = { static const char *const exception_names[] = {
"Instruction address misaligned", "Instruction address misaligned",