![]() |
RTEMS 7.0-rc1
|
ERC32 Board Support Package. More...
Files | |
| file | btimer.c |
| This file contains the Benchmark Timer support for the ERC32 BSP. | |
| file | bsp.h |
| Global BSP definitions. | |
| file | irqimpl.h |
| This header file provides interfaces used by the interrupt support implementation. | |
| file | bspdelay.c |
| This file contains the implementation of the delay mechanisms for ERC32. | |
| file | bspidle.c |
| This file contains the idle thread with power-down function. | |
| file | bspsmp.c |
| This file contains the Symmetric Multiprocessing (SMP) support for ERC32. | |
| file | bspstart.c |
| This file contains the shared BSP startup code for ERC32. | |
| file | erc32mec.c |
| This file contains the ERC32 Memory Error Controller (MEC) support. | |
Macros | |
| #define | BSP_FEATURE_IRQ_EXTENSION |
| #define | BSP_IDLE_TASK_BODY bsp_idle_thread |
| #define | RTEMS_BSP_NETWORK_DRIVER_NAME "sonic1" |
| #define | RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_erc32_sonic_driver_attach |
Typedefs | |
| typedef void(* | bsp_shared_isr) (void *arg) |
Functions | |
| void * | bsp_idle_thread (uintptr_t ignored) |
| Optimized idle task. | |
| int | rtems_erc32_sonic_driver_attach (struct rtems_bsdnet_ifconfig *config) |
| void | SPARC_Clear_and_unmask_interrupt (rtems_vector_number vector) |
| void | BSP_fatal_exit (uint32_t error) |
| void | rtems_bsp_delay (int usecs) |
| void | console_outbyte_polled (int port, unsigned char ch) |
| int | console_inbyte_nonblocking (int port) |
Variables | |
| int | RAM_START |
| int | RAM_END |
| int | RAM_SIZE |
| int | PROM_START |
| int | PROM_END |
| int | PROM_SIZE |
| int | CLOCK_SPEED |
| int | end |
ERC32 Board Support Package.
| void * bsp_idle_thread | ( | uintptr_t | ignored | ) |
Optimized idle task.
This BSP provides its own IDLE thread to override the RTEMS one.
This idle task sets the power mode to idle. This causes the processor clock to be stopped, while on-chip peripherals remain active. Any enabled interrupt from a peripheral or an external interrupt source will cause the processor to resume execution.
To enable the idle task use the following in the system configuration:
This BSP provides its own IDLE thread to override the RTEMS one.
Optimized idle task.
The MSR[POW] bit is set to put the CPU into the low power mode defined in HID0. HID0 is set during starup in start.S.
This BSP provides its own IDLE thread to override the RTEMS one.
This idle task sets the power mode to idle. This causes the processor clock to be stopped, while on-chip peripherals remain active. Any enabled interrupt from a peripheral or an external interrupt source will cause the processor to resume execution.
To enable the idle task use the following in the system configuration:
Optimized idle task.
The MSR[POW] bit is set to put the CPU into the low power mode defined in HID0. HID0 is set during starup in start.S.
| int console_inbyte_nonblocking | ( | int | port | ) |
This method polls the specified port for an input character. console port.
| [in] | port | is the input port |