summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv')
-rw-r--r--src/arch/riscv/include/arch/pmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/riscv/include/arch/pmp.h b/src/arch/riscv/include/arch/pmp.h
index f671c0297b..6cdb997220 100644
--- a/src/arch/riscv/include/arch/pmp.h
+++ b/src/arch/riscv/include/arch/pmp.h
@@ -16,6 +16,8 @@
#ifndef __RISCV_PMP_H__
#define __RISCV_PMP_H__
+#include <stdint.h>
+
/*
* this function needs to be implemented by a specific SoC.
* return number of PMP entries for current hart