RTEMS 6.1-rc1
Functions
bsp_fdt.c File Reference

This source file contains the implementatin of bsp_fdt_get(). More...

#include <bsp.h>
#include <bsp/fdt.h>

Functions

const void * bsp_fdt_get (void)
 Returns the FDT of the BSP. More...
 
uint32_t bsp_fdt_map_intr (const uint32_t *intr, size_t icells)
 Maps the interrupt number of the FDT to the interrupt vector used by the interrupt management. More...
 

Detailed Description

This source file contains the implementatin of bsp_fdt_get().

Function Documentation

◆ bsp_fdt_get()

const void * bsp_fdt_get ( void  )

Returns the FDT of the BSP.

Returns
The FDT of the BSP.

◆ bsp_fdt_map_intr()

uint32_t bsp_fdt_map_intr ( const uint32_t *  intr,
size_t  icells 
)

Maps the interrupt number of the FDT to the interrupt vector used by the interrupt management.

This function is used by the libbsd to implement the OFW_BUS_MAP_INTR bus method.

Parameters
[in]intrThe FDT interrupt number cells.
[in]icellsThe FDT interrupt cell count.
Returns
The interrupt vector of the FDT interrupt number.