RTEMS  5.1
Macros | Typedefs | Functions
bsp.h File Reference

Global BSP definitions. More...

#include <bspopts.h>
#include <bsp/default-initial-extension.h>
#include <rtems.h>

Go to the source code of this file.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define BSP_HAS_FRAME_BUFFER   1
 
#define BSP_MAIN_FREQ   3686400 /* 3.6864 MHz */
 What is the input clock freq in hertz.
 
#define BSP_SLCK_FREQ   32768 /* 32.768 KHz */
 
#define BSP_MAX_INT   AT91RM9200_MAX_INT
 What is the last interrupt.
 
#define ST_PIMR_PIV   33 /* 33 ticks of the 32.768Khz clock ~= 1msec */
 
#define outport_byte(port, val)   *((unsigned char volatile*)(port)) = (val)
 
#define inport_byte(port, val)   (val) = *((unsigned char volatile*)(port))
 
#define outport_word(port, val)   *((unsigned short volatile*)(port)) = (val)
 
#define inport_word(port, val)   (val) = *((unsigned short volatile*)(port))
 
#define BSP_NE2000_NETWORK_DRIVER_NAME   "ne1"
 
#define BSP_NE2000_NETWORK_DRIVER_ATTACH   rtems_ne_driver_attach
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   BSP_NE2000_NETWORK_DRIVER_NAME
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   BSP_NE2000_NETWORK_DRIVER_ATTACH
 

Typedefs

typedef struct _console_tbl console_tbl
 

Functions

console_tblBSP_get_uart_from_minor (int minor)
 
int rtems_ne_driver_attach (struct rtems_bsdnet_ifconfig *, int)
 

Detailed Description

Global BSP definitions.