Changeset a502d677 in rtems


Ignore:
Timestamp:
Feb 18, 2014, 1:31:26 PM (8 years ago)
Author:
Ralf Kirchner <ralf.kirchner@…>
Branches:
4.11, 5, master
Children:
0656a00a
Parents:
f5c10645
git-author:
Ralf Kirchner <ralf.kirchner@…> (02/18/14 13:31:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/13/14 15:10:52)
Message:

bsp/arm: Separate setup for translation table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/include/arm-cp15-start.h

    rf5c10645 ra502d677  
    11/**
    2  * @file 
     2 * @file
    33 *
    44 * @ingroup arm_start
     
    1010/*
    1111 * Copyright (c) 2013 Hesham AL-Matary.
    12  * Copyright (c) 2009-2013 embedded brains GmbH.  All rights reserved.
     12 * Copyright (c) 2009-2014 embedded brains GmbH.  All rights reserved.
    1313 *
    1414 *  embedded brains GmbH
     
    130130
    131131BSP_START_TEXT_SECTION static inline void
    132 arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache(
    133   uint32_t ctrl,
     132arm_cp15_start_setup_translation_table(
    134133  uint32_t *ttb,
    135134  uint32_t client_domain,
     
    152151    arm_cp15_start_set_translation_table_entries(ttb, &config_table [i]);
    153152  }
     153}
     154
     155BSP_START_TEXT_SECTION static inline void
     156arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache(
     157  uint32_t ctrl,
     158  uint32_t *ttb,
     159  uint32_t client_domain,
     160  const arm_cp15_start_section_config *config_table,
     161  size_t config_count
     162)
     163{
     164  arm_cp15_start_setup_translation_table(
     165    ttb,
     166    client_domain,
     167    config_table,
     168    config_count
     169  );
    154170
    155171  /* Enable MMU and cache */
Note: See TracChangeset for help on using the changeset viewer.