RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Functions | Variables
amba.c File Reference

This file contains AMBA bus initialization and configuration for LEON3. More...

#include <bsp.h>
#include <bsp/fatal.h>
#include <leon.h>
#include <grlib/ambapp.h>
#include <rtems/score/memory.h>
#include <rtems/sysinit.h>
#include <string.h>

Functions

unsigned int leon3_timer_prescaler __attribute__ ((weak))=0
 
struct ambapp_busambapp_plb (void)
 Gets the fully scanned AMBA Plug & Play Processor Local Bus (PLB).
 
 RTEMS_SYSINIT_ITEM (amba_initialize, RTEMS_SYSINIT_BSP_EARLY, RTEMS_SYSINIT_ORDER_MIDDLE)
 

Variables

irqampLEON3_IrqCtrl_Regs
 This pointer provides the IRQ(A)MP register block address.
 
struct ambapp_devLEON3_IrqCtrl_Adev
 This pointer provides the IRQ(A)MP device information block.
 
gptimerLEON3_Timer_Regs
 This pointer provides the GPTIMER register block address.
 
struct ambapp_devLEON3_Timer_Adev
 This pointer provides the GPTIMER device information block.
 

Detailed Description

This file contains AMBA bus initialization and configuration for LEON3.

AMBA Plug & Play Bus Driver

This driver hook performs bus scanning.