MMU implementation.
More...
#include <bsp.h>
#include <bsp/bootcard.h>
#include <bsp/fdt.h>
#include <bsp/linker-symbols.h>
#include <bsp/mmu.h>
#include <bsp/qoriq.h>
#include <sys/param.h>
#include <libfdt.h>
#include <rtems/config.h>
#include <rtems/sysinit.h>
|
#define | TEXT __attribute__((section(".bsp_start_text"))) |
|
#define | DATA __attribute__((section(".bsp_start_data"))) |
|
#define | ENTRY_X(b, s) |
|
#define | ENTRY_R(b, s) |
|
#define | ENTRY_RW_MAS2 0 |
|
#define | ENTRY_RW(b, s) |
|
#define | ENTRY_IO(b, s) |
|
#define | ENTRY_DEV(b, s) |
|
#define | ENTRY_DEV_CACHED(b, s) |
|
#define | WORKSPACE_ENTRY_INDEX 0 |
|
|
void TEXT | qoriq_mmu_config (bool boot_processor, int first_tlb, int scratch_tlb) |
|
| RTEMS_SYSINIT_ITEM (bsp_memory_initialize, RTEMS_SYSINIT_MEMORY, RTEMS_SYSINIT_ORDER_MIDDLE) |
|
const Memory_Information * | _Memory_Get (void) |
| Return the memory information of this platform. More...
|
|
◆ ENTRY_DEV
#define ENTRY_DEV |
( |
|
b, |
|
|
|
s |
|
) |
| |
Value:{ \
.begin = (uintptr_t) b, \
.mas2 = FSL_EIS_MAS2_I | FSL_EIS_MAS2_G, \
.mas3 = FSL_EIS_MAS3_SR | FSL_EIS_MAS3_SW, \
.mas7 = QORIQ_MMU_DEVICE_MAS7 \
}
unsigned size
Definition: tte.h:74
◆ ENTRY_DEV_CACHED
#define ENTRY_DEV_CACHED |
( |
|
b, |
|
|
|
s |
|
) |
| |
Value:{ \
.begin = (uintptr_t) b, \
.mas2 = FSL_EIS_MAS2_M | FSL_EIS_MAS2_G, \
.mas3 = FSL_EIS_MAS3_SR | FSL_EIS_MAS3_SW, \
.mas7 = QORIQ_MMU_DEVICE_MAS7 \
}
unsigned size
Definition: tte.h:74
◆ ENTRY_IO
#define ENTRY_IO |
( |
|
b, |
|
|
|
s |
|
) |
| |
Value:{ \
.begin = (uintptr_t) b, \
.mas2 = FSL_EIS_MAS2_I | FSL_EIS_MAS2_G, \
.mas3 = FSL_EIS_MAS3_SR | FSL_EIS_MAS3_SW \
}
unsigned size
Definition: tte.h:74
◆ ENTRY_R
Value:{ \
.begin = (uintptr_t) b, \
.mas2 = 0, \
.mas3 = FSL_EIS_MAS3_SR \
}
unsigned size
Definition: tte.h:74
◆ ENTRY_RW
#define ENTRY_RW |
( |
|
b, |
|
|
|
s |
|
) |
| |
Value:{ \
.begin = (uintptr_t) b, \
.mas2 = ENTRY_RW_MAS2, \
.mas3 = FSL_EIS_MAS3_SR | FSL_EIS_MAS3_SW \
}
unsigned size
Definition: tte.h:74
◆ ENTRY_X
Value:{ \
.begin = (uintptr_t) b, \
.mas2 = 0, \
.mas3 = FSL_EIS_MAS3_SX \
}
unsigned size
Definition: tte.h:74