forked from Imagelibrary/rtems
bsp/leon3: Move leon3_power_down_loop()
This commit is contained in:
@@ -56,6 +56,12 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Sets %asr19 to zero to enter the power-down mode of the processor in
|
||||
* an infinite loop.
|
||||
*/
|
||||
RTEMS_NO_RETURN void leon3_power_down_loop( void );
|
||||
|
||||
/**
|
||||
* @brief This constant represents the flush instruction cache flag of the LEON
|
||||
* cache control register.
|
||||
|
||||
@@ -361,8 +361,6 @@ extern int leon3_timer_core_index;
|
||||
*/
|
||||
extern unsigned int leon3_timer_prescaler;
|
||||
|
||||
RTEMS_NO_RETURN void leon3_power_down_loop(void);
|
||||
|
||||
#endif /* !ASM */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <bsp.h>
|
||||
#include <leon.h>
|
||||
#include <bsp/leon3.h>
|
||||
#include <rtems/score/cpuimpl.h>
|
||||
|
||||
void _CPU_Fatal_halt( uint32_t source, CPU_Uint32ptr error )
|
||||
|
||||
@@ -34,10 +34,9 @@
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/bootcard.h>
|
||||
#include <bsp/leon3.h>
|
||||
#include <rtems/score/smpimpl.h>
|
||||
|
||||
#include <leon.h>
|
||||
|
||||
void bsp_fatal_extension(
|
||||
rtems_fatal_source source,
|
||||
bool always_set_to_false,
|
||||
|
||||
Reference in New Issue
Block a user