armv7-r: bring back the declaration of mpu_allocregion()
authorHeesub Shin <heesub.shin@samsung.com>
Tue, 14 Mar 2017 08:17:04 +0000 (17:17 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 10:08:46 +0000 (19:08 +0900)
mpu_allocregion() seems to have been deleted (or intentionally) deleted.
Its definition is still in armv7-r/arm_mpu.c and we need it. This commit
brings it back.

Change-Id: I404b8ec0a016151db2bc7651b85ae97a17a8f295
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/armv7-r/mpu.h

index dc3ce5c..9b22ebd 100644 (file)
@@ -152,6 +152,16 @@ extern "C" {
 #endif
 
 /****************************************************************************
+ * Name: mpu_allocregion
+ *
+ * Description:
+ *  Allocate the next region
+ *
+ ****************************************************************************/
+
+unsigned int mpu_allocregion(void);
+
+/****************************************************************************
  * Name: mpu_log2regionceil
  *
  * Description: