FreeCalypso > hg > freecalypso-citrine
comparison L1/dyn_dwl_include/l1_dyn_dwl_proto.h @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 09 Jun 2016 00:02:41 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:75a11d740a02 |
|---|---|
| 1 /************* Revision Controle System Header ************* | |
| 2 * GSM Layer 1 software | |
| 3 * L1_DYN_DWL_PROTO.H | |
| 4 * | |
| 5 * Filename l1_dyn_dwl_proto.h | |
| 6 * Copyright 2004 (C) Texas Instruments | |
| 7 * | |
| 8 ************* Revision Controle System Header *************/ | |
| 9 | |
| 10 #if (L1_DYN_DSP_DWNLD == 1) | |
| 11 | |
| 12 #ifndef _L1_DYN_DWL_PROTO_H_ | |
| 13 #define _L1_DYN_DWL_PROTO_H_ | |
| 14 | |
| 15 /* Functions declared in l1_dyn_dwl_apihisr.c */ | |
| 16 void l1_dyn_dwnld_apihisr(void); | |
| 17 BOOL l1_dyn_dwnld_apihisr_error_handler(void); | |
| 18 UWORD8 l1_dyn_dwnld_copy_patch_process (BOOL new_patch); | |
| 19 | |
| 20 | |
| 21 /* Functions declared in l1_dyn_dwl_afunc.c*/ | |
| 22 void l1_handle_particular_cases_for_TCS211(UWORD32 msg_code, BOOL *return_flag); | |
| 23 BOOL l1_does_the_incoming_primitive_trigger_dynamic_dwnld(UWORD32 msg_code, BOOL delay_flag); | |
| 24 UWORD16 l1_lookup_primitive_patch_matrix(UWORD32 msg_code, UWORD16* patch_id_p); | |
| 25 BOOL l1_is_patch_already_installed (UWORD16 patch_id); | |
| 26 BOOL l1_is_patch_id_in_uninstall_set (UWORD16 patch_id, UWORD16 *uninstall_patch_vect, UWORD16 num_of_uninstall_elem); | |
| 27 BOOL l1_manage_patch_incompatibilty(UWORD16 num_of_patch_id_to_dwnld, UWORD16 *num_of_uninstall_elem, UWORD16 *uninstall_patch_id_vect); | |
| 28 void l1_update_semaphores_for_all_state_machines(UWORD16 num_of_patch_id_to_dwnld); | |
| 29 void l1_set_semaphores_for_all_state_machines_involved(UWORD16 delay_num_patch, UWORD16* delay_patch_array); | |
| 30 void l1_reset_semaphores(); | |
| 31 void l1_disable_DSP_trace(); | |
| 32 void l1_enable_DSP_trace(); | |
| 33 BOOL l1_pop_Primitive(UWORD32 *p_primitive); | |
| 34 UWORD32 l1_check_Fifo_Primitive(); | |
| 35 BOOL l1_push_Primitive(UWORD32 primitive_id); | |
| 36 | |
| 37 /* Functions declared in l1_dyn_dwl_async.c */ | |
| 38 BOOL l1_dynamic_download_manager(UWORD32 SignalCode, BOOL delay_flag); | |
| 39 | |
| 40 /* Functions declared in l1_dyn_dwl_func.c*/ | |
| 41 | |
| 42 void l1_set_uninstall_parameters(void); | |
| 43 BOOL l1_set_dyn_dwnld_install_vect(UWORD16* size_p, UWORD32* dest_addr, UWORD16* crc_vect, const UWORD8 *patch_array_code, UWORD16 i); | |
| 44 UWORD16 l1_initialize_patch_parameters(); | |
| 45 void l1_initialize_pointers_for_copy(UWORD16 **pp_dest_mcu, UWORD16 **pp_src_mcu); | |
| 46 void l1_copy_till_the_end_of_the_patch_and_update_write_pointer(UWORD16 tmp_patch_size, UWORD16* p_dest_mcu, UWORD16* p_src_mcu); | |
| 47 void l1_copy_till_end_of_dwnld_area_and_update_write_pointer(UWORD16 tmp_dwnld_area_size,UWORD16 *p_dest_mcu, UWORD16 *p_tmp_patch_size, UWORD16 **pp_src_mcu); | |
| 48 BOOL l1_copy_first_N_words (UWORD16 *dwnld_area_size_p, UWORD16 *patch_area_size_p, UWORD16 **pp_dest_mcu, UWORD16 **pp_src_mcu); | |
| 49 UWORD16 l1_initialize_download_area_parameters(); | |
| 50 BOOL l1_init_pointers_and_copy_first_block_of_data(UWORD16 *dwnld_area_size_p, UWORD16 *patch_size_p, UWORD16 **pp_dest_mcu, UWORD16 **pp_src_mcu, BOOL new_patch); | |
| 51 | |
| 52 /* Functions declared in l1_dyn_dwl_init.c*/ | |
| 53 | |
| 54 void l1_dyn_dwnld_initialize_var(); | |
| 55 void l1_dyn_dwnld_reset(); | |
| 56 void l1_dyn_dwnld_reset_api(); | |
| 57 | |
| 58 | |
| 59 #endif // _L1_DYN_DWL_PROTO_H_ | |
| 60 #endif // L1_DYN_DSP_DWNLD |
