comparison gsm-fw/services/dar/dar_watchdog.c @ 309:a7087f91c752

DAR: all C modules compile without RVM_DAR_SWE
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 17 Mar 2014 04:51:36 +0000
parents 4dccc9d3305f
children
comparison
equal deleted inserted replaced
308:3c5a17928fda 309:a7087f91c752
14 /* Author Stephanie Gerthoux */ 14 /* Author Stephanie Gerthoux */
15 /* */ 15 /* */
16 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ 16 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/
17 /****************************************************************************/ 17 /****************************************************************************/
18 18
19 #include "rv/rv_defined_swe.h" 19 #include "../../riviera/rv/rv_defined_swe.h"
20 #ifdef RVM_DAR_SWE 20 #ifdef RVM_DAR_SWE
21 #ifndef _WINDOWS 21 #ifndef _WINDOWS
22 #include "config/swconfig.cfg" 22 #include "../../include/config.h"
23 #include "config/sys.cfg"
24 #include "config/chipset.cfg"
25 #endif 23 #endif
26 24
27 #include "rv/rv_general.h" 25 #include "../../riviera/rv/rv_general.h"
28 #include "rvm/rvm_gen.h" 26 #include "../../riviera/rvm/rvm_gen.h"
29 #include "rvm/rvm_priorities.h" 27 #include "../../riviera/rvm/rvm_priorities.h"
30 #include "dar/dar_api.h" 28 #include "dar_api.h"
31 #include "dar/dar_gen.h" 29 #include "dar_gen.h"
32 #include "dar/dar_diagnose_i.h" 30 #include "dar_diagnose_i.h"
33 31
34 /**** Global variable ****/ 32 /**** Global variable ****/
35 33
36 /* Get the dar_current status */ 34 /* Get the dar_current status */
37 extern T_DAR_RECOVERY_STATUS dar_current_status; 35 extern T_DAR_RECOVERY_STATUS dar_current_status;
38 36
39 /********************************************************************************/ 37 /***************************************************************************/
40 /* */ 38 /* */
41 /* Function Name: dar_watchdog_reset */ 39 /* Function Name: dar_watchdog_reset */
42 /* */ 40 /* */
43 /* Purpose: This function is called to reset the system when the general */ 41 /* Purpose: This function is called to reset the system when the general*/
44 /* general purpose timer expires */ 42 /* general purpose timer expires */
45 /* */ 43 /* */
46 /* Input Parameters: */ 44 /* Input Parameters: */
47 /* Pointer to the message to store */ 45 /* Pointer to the message to store */
48 /* Data Format, */ 46 /* Data Format, */
49 /* Data level, */ 47 /* Data level, */
50 /* Data Use Id, */ 48 /* Data Use Id, */
51 /* */ 49 /* */
52 /* Output Parameters: */ 50 /* Output Parameters: */
53 /* Validation of the function execution. */ 51 /* Validation of the function execution. */
54 /* */ 52 /* */
55 /* Note: */ 53 /* Note: */
56 /* None */ 54 /* None */
57 /* */ 55 /* */
58 /********************************************************************************/ 56 /***************************************************************************/
59 57
60 void dar_watchdog_reset(void) 58 void dar_watchdog_reset(void)
61 { 59 {
62 /* Update the current status */ 60 /* Update the current status */
63 dar_current_status = DAR_WATCHDOG; 61 dar_current_status = DAR_WATCHDOG;