We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e53f27 commit 54c91dcCopy full SHA for 54c91dc
src/arch/armv8/armv8-r/inc/arch/mpu.h
@@ -0,0 +1,20 @@
1
+
2
+/**
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ * Copyright (c) Bao Project and Contributors. All rights reserved.
5
+ */
6
7
+#ifndef __ARCH_MPU_H__
8
+#define __ARCH_MPU_H__
9
10
+#include <bao.h>
11
+#include <arch/sysregs.h>
12
13
+void mpu_arch_init(void);
14
+void mpu_arch_enable(void);
15
+bool mpu_add_region(struct mp_region* reg, bool locked);
16
+bool mpu_remove_region(struct mp_region* reg);
17
+bool mpu_update_region(struct mp_region* reg);
18
+bool mpu_perms_compatible(uint32_t perms1, uint32_t perms2);
19
20
+#endif /* __ARCH_MPU_H__ */
0 commit comments