FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/cfile/l1_pwmgr.c @ 131:244b007df481
l1_pwmgr.c: .bss and .cinit data sections reconstructed
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 14 May 2016 07:31:22 +0000 |
parents | c4b922f2b593 |
children | c721b9d301b9 |
comparison
equal
deleted
inserted
replaced
130:c4b922f2b593 | 131:244b007df481 |
---|---|
746 #endif | 746 #endif |
747 } | 747 } |
748 } | 748 } |
749 #endif | 749 #endif |
750 | 750 |
751 UWORD32 last_wakeup; | 751 UWORD32 last_wakeup = 0; |
752 UWORD8 wakeup_type; // Type of the interrupt | 752 UWORD8 wakeup_type; // Type of the interrupt |
753 UWORD8 why_big_sleep; // Type of the big sleep | 753 UWORD8 why_big_sleep; // Type of the big sleep |
754 | 754 |
755 extern UWORD16 int_id; | 755 extern UWORD16 int_id; |
756 | 756 |
778 if (l1_config.pwr_mngt == PWR_MNGT) | 778 if (l1_config.pwr_mngt == PWR_MNGT) |
779 { | 779 { |
780 // Power management is enabled | 780 // Power management is enabled |
781 WORD32 min_time, HWtimer,wake_up_time,min_time_gauging; | 781 WORD32 min_time, HWtimer,wake_up_time,min_time_gauging; |
782 WORD32 afc_fix; | 782 WORD32 afc_fix; |
783 static UWORD32 previous_sleep = FRAME_STOP; | 783 static UWORD32 previous_sleep = CLOCK_STOP; |
784 #if (W_A_CALYPSO_PLUS_SPR_19599 == 1) | 784 #if (W_A_CALYPSO_PLUS_SPR_19599 == 1) |
785 BOOL extended_page_mode_state = 0; //Store state of extended page mode | 785 BOOL extended_page_mode_state = 0; //Store state of extended page mode |
786 #endif | 786 #endif |
787 WORD32 time_from_last_wakeup=0; | 787 WORD32 time_from_last_wakeup=0; |
788 UWORD32 sleep_mode; | 788 UWORD32 sleep_mode; |