/*                                                                          */
/* File Name   : mbdr_dsp_common_main_init_utils.h                          */
/*                                                                          */
/* Written By  : 79556                                                      */
/*                                                                          */
/* versions    :                                                            */
/*+--------+-----------+---------------------------------------------------+*/
/*| Version| Date      | Change content                                    |*/
/*+--------+-----------+---------------------------------------------------+*/
/*| 0.02.39| 3/Mrs/2010|- mbdr_dsp_common_main_init_utils.c/h              |*/
/*+--------+-----------+---------------------------------------------------+*/
/*| 0.02.94|20/Dec/2011|- replace programmer name by code                  |*/
/*+--------+-----------+---------------------------------------------------+*/
/*                                                                          */
/* Function    : manages initialization flow                                */
/*                                                                          */
/* Used By     : DSP                                                        */
/*                                                                          */
/*                                                                          */

#include  "windef.h"
#include  "mbdr_dsp_common_main_init_manager.h"

#ifndef _MBDR_DSP_COMMON_MAIN_INIT_UTILS_H_
#define _MBDR_DSP_COMMON_MAIN_INIT_UTILS_H_

extern void mbdr_dsp_main_init_bp_before_poll_dw_with_wait(void);
extern void mbdr_dsp_before_main_bp(void);
extern void  mbdr_dsp_main_init_manager_verify_boot_loader_application_sync(void);

extern void mbdr_dsp_common_main_init_manager_memory_init(
             const mbdr_dsp_main_init_manager_params_t
                             *pi_mbdr_dsp_main_init_manager_params_p,
             mbdr_dsp_boot_loader_config_t *po_mbdr_dsp_config_p);

extern void mbdr_dsp_common_main_init_wait_for_config_ready(
          volatile mbdr_dsp_boot_loader_config_t *pio_mbdr_dsp_config_p);

enum MBDR_DSP_MAIN_START_MIDDLE_MODULE_CODE_T{
        MBDR_DSP_MAIN_START_MIDDLE_MODULE_CODE_T_SEND_SIGNAL_APP=1,
        MBDR_DSP_MAIN_START_MIDDLE_MODULE_CODE_T_SEND_INIT_PERIPHERALS,
        MBDR_DSP_MAIN_START_MIDDLE_MODULE_CODE_T_WAIT_FOR_SYNC};

extern volatile LONG mbdr_dsp_always_true_f;
extern ULONG mbdr_dsp_disable_get_flags;

#endif
