RTEMS 6.1-rc4
|
This group contains AArch64 Board Support Packages. More...
Modules | |
AMD Zynq UltraScale+ MPSoC and RFSoC - Application Processing Unit | |
This group contains the BSP for the Application Processing Unit (APU) contained in AMD Zynq UltraScale+ MPSoC and RFSoC devices. | |
Shared | |
This group contains support shared by AArch64 Board Support Packages. | |
Data Structures | |
struct | Cache_Error_Info |
Structure containing information about a Cache error. More... | |
struct | OCM_Error_Info |
Structure containing information about a OCM ECC error. More... | |
struct | DDR_Error_Info |
Structure containing information about a DDR ECC error. More... | |
Typedefs | |
typedef void(* | zynqmp_ecc_handler) (ECC_Event_Type event, void *data) |
Typedef for ECC handlers. | |
Enumerations | |
enum | ECC_Event_Type { L1_CACHE , L2_CACHE , L1_L2_CACHE , OCM_RAM , DDR_RAM } |
Enumeration describing the possible types of ECC events. | |
enum | Cache_Error_RAM_ID { RAM_ID_L1I_TAG , RAM_ID_L1I_DATA , RAM_ID_L1D_TAG , RAM_ID_L1D_DATA , RAM_ID_L1D_DIRTY , RAM_ID_TLB , RAM_ID_L2_TAG , RAM_ID_L2_DATA , RAM_ID_SCU , RAM_ID_UNKNOWN } |
The specific locations where a cache error can originate. | |
enum | OCM_Error_Type { OCM_UNCORRECTABLE , OCM_UNCORRECTABLE_RMW , OCM_CORRECTABLE } |
The types of OCM ECC errors. | |
enum | DDR_Error_Type { DDR_UNCORRECTABLE , DDR_CORRECTABLE } |
The types of DDR ECC errors. | |
Functions | |
BSP_START_TEXT_SECTION void | raspberrypi_4_setup_mmu_and_cache (void) |
BSP_START_TEXT_SECTION void | versal_setup_mmu_and_cache (void) |
Versal specific set up of the MMU. | |
void | versal_debug_console_flush (void) |
uint32_t | versal_clock_i2c0 (void) |
uint32_t | versal_clock_i2c1 (void) |
void | zynqmp_ecc_register_handler (zynqmp_ecc_handler handler) |
Enumeration describing the possible types of ECC events. | |
int | zynqmp_ecc_enable (ECC_Event_Type event) |
Enable ECC error reporting. | |
void | zynqmp_ocm_inject_fault (void) |
Injects an ECC fault in the On-Chip Memory (OCM) | |
void | zynqmp_ecc_init (void) |
Initialize ECC reporting support. | |
void | zynqmp_ecc_init_bsp (void) |
Initialize BSP-specific ECC reporting. | |
rtems_status_code | zynqmp_configure_cache_ecc (void) |
Configure Cache ECC reporting. | |
rtems_status_code | zynqmp_configure_ocm_ecc (void) |
Configure On-Chip Memory (OCM) ECC reporting. | |
rtems_status_code | zynqmp_configure_ddr_ecc (void) |
Configure DDR Memory ECC reporting. | |
void | zynqmp_invoke_ecc_handler (ECC_Event_Type event, void *data) |
Invoke the ECC error handler. | |
This group contains AArch64 Board Support Packages.
typedef void(* zynqmp_ecc_handler) (ECC_Event_Type event, void *data) |
Typedef for ECC handlers.
Functions matching this prototype can be registered as the handler for ECC event callbacks. The data argument is a struct describing the event that occurred.
BSP_START_TEXT_SECTION void versal_setup_mmu_and_cache | ( | void | ) |
Versal specific set up of the MMU.
Provide in the application to override the defaults in the BSP.
int zynqmp_ecc_enable | ( | ECC_Event_Type | event | ) |
Enable ECC error reporting.
Enables ECC error reporting for the specified subsystem.
event | The ECC error event type to enable |
void zynqmp_ecc_init | ( | void | ) |
Initialize ECC reporting support.
This initializes the base ECC event reporting support for the platform.
void zynqmp_ecc_init_bsp | ( | void | ) |
Initialize BSP-specific ECC reporting.
Various BSPs may have different ECC capabilities. This allows those BSPs to initialize those facilities as necessary.
void zynqmp_ecc_register_handler | ( | zynqmp_ecc_handler | handler | ) |
Enumeration describing the possible types of ECC events.
Note that the provided handler may be called from interrupt context.
handler | The handler to be called for all ECC error events |
void zynqmp_invoke_ecc_handler | ( | ECC_Event_Type | event, |
void * | data | ||
) |
Invoke the ECC error handler.
event | The ECC error event type to be raised |
data | The details associated with the raised ECC error |