283 * Time base divisior (how many tick for 1 second).
284 */
285externunsignedint BSP_time_base_divisor;
286/*
287 * The commandline as passed from the bootloader.
288 */
289externchar *BSP_commandline_string;
290
291#define BSP_Convert_decrementer( _value ) \
292 ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
293
294externint BSP_disconnect_clock_handler (void);
295externint BSP_connect_clock_handler (void);
296
297/* clear hostbridge errors
298 *
299 * NOTE: The routine returns always (-1) if 'enableMCP==1'
300 * [semantics needed by libbspExt] if the MCP input is not wired.
301 * It returns and clears the error bits of the PCI status register.
302 * MCP support is disabled because:
303 * a) the 2100 has no raven chip
304 * b) the raven (2300) would raise machine check interrupts
305 * on PCI config space access to empty slots.
306 */
307externunsignedlong _BSP_clear_hostbridge_errors(int enableMCP, int quiet);
308externvoid BSP_motload_pci_fixup(void);
309
310struct rtems_bsdnet_ifconfig;
311
312int
313rtems_tsec_attach(struct rtems_bsdnet_ifconfig *ifcfg, int attaching);