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:
parent
a3adb75b52
commit
dd9edefa15
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue