bsp/leon3: Move leon3_power_down_loop()

This commit is contained in:
Sebastian Huber
2021-07-20 16:49:57 +02:00
parent 314945468c
commit 2aff2d03cb
4 changed files with 8 additions and 5 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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 )

View File

@@ -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,