RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Modules | Data Structures | Macros | Typedefs | Enumerations | Functions

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...
 

Macros

#define BSP_ARM_GIC_CPUIF_BASE   0x08010000
 
#define BSP_ARM_GIC_DIST_BASE   0x08000000
 
#define BSP_ARM_GIC_REDIST_BASE   0x080A0000
 
#define BSP_A53_QEMU_VPL011_BASE   0x9000000
 
#define BSP_A53_QEMU_VPL011_LENGTH   0x1000
 
#define BSP_ARM_GIC_CPUIF_BASE   0x08010000
 
#define BSP_ARM_GIC_DIST_BASE   0x08000000
 
#define BSP_ARM_GIC_REDIST_BASE   0x080A0000
 
#define BSP_A72_QEMU_VPL011_BASE   0x9000000
 
#define BSP_A72_QEMU_VPL011_LENGTH   0x1000
 
#define BSP_ARM_GIC_CPUIF_BASE   0xFF842000
 
#define BSP_ARM_GIC_DIST_BASE   0xFF841000
 
#define BSP_RESET_SMC
 
#define BSP_ARM_GIC_CPUIF_BASE   0xf9040000
 
#define BSP_ARM_GIC_DIST_BASE   0xf9000000
 
#define BSP_ARM_GIC_REDIST_BASE   0xf9080000
 

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.
 

Detailed Description

This group contains AArch64 Board Support Packages.

Typedef Documentation

◆ zynqmp_ecc_handler

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.

Function Documentation

◆ versal_setup_mmu_and_cache()

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.

◆ zynqmp_ecc_enable()

int zynqmp_ecc_enable ( ECC_Event_Type  event)

Enable ECC error reporting.

Enables ECC error reporting for the specified subsystem.

Parameters
eventThe ECC error event type to enable

◆ zynqmp_ecc_init()

void zynqmp_ecc_init ( void  )

Initialize ECC reporting support.

This initializes the base ECC event reporting support for the platform.

◆ zynqmp_ecc_init_bsp()

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.

◆ zynqmp_ecc_register_handler()

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.

Parameters
handlerThe handler to be called for all ECC error events

◆ zynqmp_invoke_ecc_handler()

void zynqmp_invoke_ecc_handler ( ECC_Event_Type  event,
void *  data 
)

Invoke the ECC error handler.

Parameters
eventThe ECC error event type to be raised
dataThe details associated with the raised ECC error