32 #ifndef LIBBSP_POWERPC_TQM8XX_BSP_H 33 #define LIBBSP_POWERPC_TQM8XX_BSP_H 48 #define BSP_HAS_TQMMON 52 LINKER_SYMBOL(TopRamReserved);
54 LINKER_SYMBOL( bsp_ram_start);
55 LINKER_SYMBOL( bsp_ram_end);
56 LINKER_SYMBOL( bsp_ram_size);
58 LINKER_SYMBOL( bsp_rom_start);
59 LINKER_SYMBOL( bsp_rom_end);
60 LINKER_SYMBOL( bsp_rom_size);
62 LINKER_SYMBOL( bsp_section_text_start);
63 LINKER_SYMBOL( bsp_section_text_end);
64 LINKER_SYMBOL( bsp_section_text_size);
66 LINKER_SYMBOL( bsp_section_data_start);
67 LINKER_SYMBOL( bsp_section_data_end);
68 LINKER_SYMBOL( bsp_section_data_size);
70 LINKER_SYMBOL( bsp_section_bss_start);
71 LINKER_SYMBOL( bsp_section_bss_end);
72 LINKER_SYMBOL( bsp_section_bss_size);
74 LINKER_SYMBOL( bsp_work_area_start);
83 #include <mpc8xx/cpm.h> 84 #include <mpc8xx/mmu.h> 85 #include <mpc8xx/console.h> 98 struct rtems_bsdnet_ifconfig;
100 #if BSP_USE_NETWORK_FEC 101 extern int rtems_fec_enet_driver_attach (
struct rtems_bsdnet_ifconfig *
config,
103 #define RTEMS_BSP_FEC_NETWORK_DRIVER_NAME "fec1" 104 #define RTEMS_BSP_FEC_NETWORK_DRIVER_ATTACH rtems_fec_enet_driver_attach 107 #if BSP_USE_NETWORK_SCC 108 extern int rtems_scc_enet_driver_attach (
struct rtems_bsdnet_ifconfig *
config,
110 #define RTEMS_BSP_SCC_NETWORK_DRIVER_NAME "scc1" 111 #define RTEMS_BSP_SCC_NETWORK_DRIVER_ATTACH rtems_scc_enet_driver_attach 114 #if BSP_USE_NETWORK_FEC 115 #define RTEMS_BSP_NETWORK_DRIVER_NAME RTEMS_BSP_FEC_NETWORK_DRIVER_NAME 116 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH RTEMS_BSP_FEC_NETWORK_DRIVER_ATTACH 117 #elif BSP_USE_NETWORK_SCC 118 #define RTEMS_BSP_NETWORK_DRIVER_NAME RTEMS_BSP_SCC_NETWORK_DRIVER_NAME 119 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH RTEMS_BSP_SCC_NETWORK_DRIVER_ATTACH 126 #define NOCACHE_MEM_SIZE 512*1024 131 #undef RTEMS_BSP_HAS_IDE_DRIVER 138 #define PGHPLUS_SPI_ADDR_EEPROM 0 139 #define PGHPLUS_SPI_ADDR_DISP4 1 141 #define PGHPLUS_SPI_ADDR_DISP4_DATA (PGHPLUS_SPI_ADDR_DISP4) 142 #define PGHPLUS_SPI_ADDR_DISP4_CTRL (PGHPLUS_SPI_ADDR_DISP4_DATA+1) 145 #define PGHPLUS_PB_SPI_EEP_CE_MSK (1<< 0) 146 #define PGHPLUS_PB_SPI_DISP4_RS_MSK (1<<15) 147 #define PGHPLUS_PB_SPI_DISP4_CE_MSK (1<<14) 152 extern uint32_t BSP_bus_frequency;
157 int BSP_disconnect_clock_handler(
void);
162 char serial_getc(
void);
164 int serial_tstc(
void);
166 void serial_init(
void);
168 int mbx8xx_console_get_configuration(
void);
170 void _InitTQM8xx (
void);
Definition: deflate.c:115
unsigned int bsp_clock_speed
System clock frequency.
Definition: bspstart.c:48
DEFAULT_INITIAL_EXTENSION Support.
General purpose assembler macros, linker command file support and some inline functions for direct re...
rtems_status_code
Classic API Status.
Definition: status.h:43
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:26
int BSP_connect_clock_handler(void)
Clock Tick Device Driver.
Definition: p_clock.c:37