diff options
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc32xx/include/mmu.h')
-rw-r--r-- | c/src/lib/libbsp/arm/lpc32xx/include/mmu.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h b/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h index 679be89666..eeebe59d20 100644 --- a/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h +++ b/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h @@ -7,12 +7,13 @@ */ /* - * Copyright (c) 2009 - * embedded brains GmbH - * Obere Lagerstr. 30 - * D-82178 Puchheim - * Germany - * <rtems@embedded-brains.de> + * Copyright (c) 2009-2011 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -55,7 +56,12 @@ extern "C" { #define LPC32XX_MMU_READ_WRITE_CACHED \ (LPC32XX_MMU_READ_WRITE | ARM_MMU_SECT_C | ARM_MMU_SECT_B) -void lpc32xx_set_translation_table_entries( +/** + * @brief Sets the @a section_flags for the address range [@a begin, @a end). + * + * @return Previous section flags of the first modified entry. + */ +uint32_t lpc32xx_set_translation_table_entries( const void *begin, const void *end, uint32_t section_flags |