From 5ceefe18f0a6a055e04a1e5333983bae86738be8 Mon Sep 17 00:00:00 2001 From: Hesham AL-Matary Date: Sat, 28 Sep 2013 10:08:25 +0200 Subject: Shared MMU initialization for ARM BSPs and RaspberryPi MMU support Add support for MMU initialization for RaspberryPi. Introduce new shared MMU configuration table that can be used by other BSPs that call the arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache function. Demonstrate the use of the generic table with RaspberryPi. --- c/src/lib/libbsp/shared/include/mm.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 c/src/lib/libbsp/shared/include/mm.h (limited to 'c/src/lib/libbsp/shared/include/mm.h') diff --git a/c/src/lib/libbsp/shared/include/mm.h b/c/src/lib/libbsp/shared/include/mm.h new file mode 100644 index 0000000000..1a1eb7ffa2 --- /dev/null +++ b/c/src/lib/libbsp/shared/include/mm.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2013 Hesham AL-Matary. + * Copyright (c) 2013 Gedare Bloom. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef __LIBBSP_MM_H +#define __LIBBSP_MM_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void bsp_memory_management_initialize(void); + +#ifdef __cplusplus +} +#endif +#endif -- cgit v1.2.3