4.115
Last change
on this file since 5ceefe1 was
5ceefe1,
checked in by Hesham AL-Matary <heshamelmatary@…>, on 09/28/13 at 08:08:25
|
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?.
|
-
Property mode set to
100644
|
File size:
764 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup raspberrypi |
---|
5 | * |
---|
6 | * @brief Startup code. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2013. Hesham AL-Matary |
---|
11 | * Copyright (c) 2013 by Alan Cudmore |
---|
12 | * based on work by: |
---|
13 | * Copyright (c) 2009 |
---|
14 | * embedded brains GmbH |
---|
15 | * Obere Lagerstr. 30 |
---|
16 | * D-82178 Puchheim |
---|
17 | * Germany |
---|
18 | * <rtems@embedded-brains.de> |
---|
19 | * |
---|
20 | * The license and distribution terms for this file may be |
---|
21 | * found in the file LICENSE in this distribution or at |
---|
22 | * http://www.rtems.com/license/LICENSE |
---|
23 | */ |
---|
24 | |
---|
25 | #include <bspopts.h> |
---|
26 | #include <bsp/start.h> |
---|
27 | #include <bsp/raspberrypi.h> |
---|
28 | #include <bsp/mm.h> |
---|
29 | |
---|
30 | void BSP_START_TEXT_SECTION bsp_start_hook_0(void) |
---|
31 | { |
---|
32 | } |
---|
33 | |
---|
34 | |
---|
35 | void BSP_START_TEXT_SECTION bsp_start_hook_1(void) |
---|
36 | { |
---|
37 | bsp_start_copy_sections(); |
---|
38 | bsp_memory_management_initialize(); |
---|
39 | bsp_start_clear_bss(); |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.