Changeset 962e0fac in rtems


Ignore:
Timestamp:
May 2, 2013, 9:18:09 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
d2d02961
Parents:
fb0584f
git-author:
Sebastian Huber <sebastian.huber@…> (05/02/13 09:18:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/03/13 15:30:54)
Message:

bsps/arm: Add and use bsp_translation_table_base

Location:
c/src/lib/libbsp/arm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c

    rfb0584f r962e0fac  
    4242#endif
    4343
    44 LINKER_SYMBOL(lpc32xx_translation_table_base);
    45 
    4644static BSP_START_TEXT_SECTION void clear_bss(void)
    4745{
     
    156154    uint32_t const dac =
    157155      ARM_CP15_DAC_DOMAIN(LPC32XX_MMU_CLIENT_DOMAIN, ARM_CP15_DAC_CLIENT);
    158     uint32_t *const ttb = (uint32_t *) lpc32xx_translation_table_base;
     156    uint32_t *const ttb = (uint32_t *) bsp_translation_table_base;
    159157    size_t const config_entry_count =
    160158      sizeof(lpc32xx_mmu_config_table) / sizeof(lpc32xx_mmu_config_table [0]);
  • c/src/lib/libbsp/arm/lpc32xx/startup/linkcmds.lpc32xx

    rfb0584f r962e0fac  
    77 */
    88
    9 lpc32xx_translation_table_base = ORIGIN (RAM_MMU);
     9bsp_translation_table_base = ORIGIN (RAM_MMU);
    1010
    1111lpc32xx = 0x20020000;
  • c/src/lib/libbsp/arm/shared/include/linker-symbols.h

    rfb0584f r962e0fac  
    88
    99/*
    10  * Copyright (c) 2008, 2009
    11  * embedded brains GmbH
    12  * Obere Lagerstr. 30
    13  * D-82178 Puchheim
    14  * Germany
    15  * <rtems@embedded-brains.de>
     10 * Copyright (c) 2008-2013 embedded brains GmbH.  All rights reserved.
     11 *
     12 *  embedded brains GmbH
     13 *  Dornierstr. 4
     14 *  82178 Puchheim
     15 *  Germany
     16 *  <info@embedded-brains.de>
    1617 *
    1718 * The license and distribution terms for this file may be
     
    121122LINKER_SYMBOL(bsp_start_vector_table_size)
    122123
     124LINKER_SYMBOL(bsp_translation_table_base)
     125
    123126#define BSP_FAST_TEXT_SECTION __attribute__((section(".bsp_fast_text")))
    124127
Note: See TracChangeset for help on using the changeset viewer.