RTEMS 6.3
Loading...
Searching...
No Matches

MMU support. More...

Files

file  bsps/arm/lpc32xx/include/bsp/mmu.h
 MMU support API.
file  bsps/arm/lpc32xx/start/mmu.c
 MMU support implementation.

Macros

#define LPC32XX_MMU_CLIENT_DOMAIN   15U
#define LPC32XX_MMU_READ_ONLY
#define LPC32XX_MMU_READ_ONLY_CACHED   (LPC32XX_MMU_READ_ONLY | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
#define LPC32XX_MMU_READ_WRITE
#define LPC32XX_MMU_READ_WRITE_CACHED   (LPC32XX_MMU_READ_WRITE | ARM_MMU_SECT_C | ARM_MMU_SECT_B)

Functions

uint32_t lpc32xx_set_translation_table_entries (const void *begin, const void *end, uint32_t section_flags)
 Sets the section_flags for the address range [begin, end).

Detailed Description

MMU support.

Macro Definition Documentation

◆ LPC32XX_MMU_READ_ONLY

#define LPC32XX_MMU_READ_ONLY
Value:
((LPC32XX_MMU_CLIENT_DOMAIN << ARM_MMU_SECT_DOMAIN_SHIFT) \
| ARM_MMU_SECT_DEFAULT)

◆ LPC32XX_MMU_READ_WRITE

#define LPC32XX_MMU_READ_WRITE
Value:
((LPC32XX_MMU_CLIENT_DOMAIN << ARM_MMU_SECT_DOMAIN_SHIFT) \
| ARM_MMU_SECT_AP_0 \
| ARM_MMU_SECT_DEFAULT)

Function Documentation

◆ lpc32xx_set_translation_table_entries()

uint32_t lpc32xx_set_translation_table_entries ( const void * begin,
const void * end,
uint32_t section_flags )

Sets the section_flags for the address range [begin, end).

Returns
Previous section flags of the first modified entry.