On 27/04/16 04:27, Chris Johns wrote:
On 26/04/2016 23:22, Sebastian Huber wrote:
Add root bus support functions
How and why would you use these functions?
/**
* @brief Attach the root bus.
*
* @retval 0 Successful operation.
* @retval errno Otherwise.
*/
int rtems_bsd_bus_root_attach(void);
/**
* @brief Suspend the root bus.
*
* @retval 0 Successful operation.
* @retval errno Otherwise.
*/
int rtems_bsd_bus_root_suspend(void);
/**
* @brief Resume the root bus.
*
* @retval 0 Successful operation.
* @retval errno Otherwise.
*/
int rtems_bsd_bus_root_resume(void);
/**
* @brief Detach the root bus.
*
* @retval 0 Successful operation.
* @retval errno Otherwise.
*/
int rtems_bsd_bus_root_detach(void);
Suspend and resume can be used to go into a power saving state. Detach
to shutdown the system and do a warm reset.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel