15 #ifndef LIBBSP_ARM_GUMSTIX_BSP_H 16 #define LIBBSP_ARM_GUMSTIX_BSP_H 37 #define BSP_FEATURE_IRQ_EXTENSION 39 #define BSP_HAS_FRAME_BUFFER 1 42 #define BSP_MAIN_FREQ 3686400 43 #define BSP_SLCK_FREQ 32768 46 #define BSP_MAX_INT AT91RM9200_MAX_INT 55 static inline int32_t BSP_get_baud(
void) {
return 115200;}
57 #define ST_PIMR_PIV 33 59 #define outport_byte(port,val) *((unsigned char volatile*)(port)) = (val) 60 #define inport_byte(port,val) (val) = *((unsigned char volatile*)(port)) 61 #define outport_word(port,val) *((unsigned short volatile*)(port)) = (val) 62 #define inport_word(port,val) (val) = *((unsigned short volatile*)(port)) 64 struct rtems_bsdnet_ifconfig;
65 extern int rtems_ne_driver_attach(
struct rtems_bsdnet_ifconfig *,
int);
66 #define BSP_NE2000_NETWORK_DRIVER_NAME "ne1" 67 #define BSP_NE2000_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach 69 #ifndef RTEMS_BSP_NETWORK_DRIVER_NAME 70 #define RTEMS_BSP_NETWORK_DRIVER_NAME BSP_NE2000_NETWORK_DRIVER_NAME 73 #ifndef RTEMS_BSP_NETWORK_DRIVER_ATTACH 74 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH BSP_NE2000_NETWORK_DRIVER_ATTACH DEFAULT_INITIAL_EXTENSION Support.