RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
leon2_amba_bus.h File Reference

This header file provides interfaces of the LEON2 Hardcoded bus driver. More...

#include <drvmgr/drvmgr.h>
#include <grlib/ambapp.h>

Go to the source code of this file.

Data Structures

struct  leon2_amba_dev_id
 
struct  leon2_core
 
struct  leon2_bus
 
struct  leon2_amba_dev_info
 
struct  leon2_amba_drv_info
 

Macros

#define DRIVER_LEON2_AMBA(id)   DRIVER_ID(DRVMGR_BUS_TYPE_LEON2_AMBA, id)
 
#define LEON2_AMBA_NONE_ID   0
 
#define LEON2_AMBA_TIMER_ID   1
 
#define LEON2_AMBA_UART_ID   2
 
#define LEON2_AMBA_GPIO_ID   3
 
#define LEON2_AMBA_IRQCTRL_ID   4
 
#define LEON2_AMBA_AT697PCI_ID   100
 
#define LEON2_AMBA_AMBAPP_ID   0xfff0
 
#define DRIVER_LEON2_AMBA_TIMER   DRIVER_LEON2_AMBA(LEON2_AMBA_TIMER_ID)
 
#define DRIVER_LEON2_AMBA_UART   DRIVER_LEON2_AMBA(LEON2_AMBA_UART_ID)
 
#define DRIVER_LEON2_AMBA_AT697PCI   DRIVER_LEON2_AMBA(LEON2_AMBA_AT697PCI_ID)
 
#define DRIVER_LEON2_AMBA_AMBAPP   DRIVER_LEON2_AMBA(LEON2_AMBA_AMBAPP_ID)
 
#define EMPTY_LEON2_CORE   {{LEON2_AMBA_NONE_ID}, NULL, NULL}
 

Functions

int leon2_root_register (struct leon2_bus *bus_config, struct drvmgr_bus_res *resources)
 

Variables

struct leon2_core leon2_std_cores []
 

Detailed Description

This header file provides interfaces of the LEON2 Hardcoded bus driver.