Functions | |
void | FLASH_Apply_Q_UT_cntl_init () |
void | FLASH_Apply_Q_UT_cntl_finalize () |
Variables | |
fla_apqut_t * | flash_apqut_cntl_leaf |
fla_apqut_t * | flash_apqut_cntl |
fla_blocksize_t * | flash_apqut_var2_bsize |
void FLASH_Apply_Q_UT_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flash().
00072 { 00073 FLA_Cntl_obj_free( flash_apqut_cntl_leaf ); 00074 FLA_Cntl_obj_free( flash_apqut_cntl ); 00075 00076 FLA_Blocksize_free( flash_apqut_var2_bsize ); 00077 }
void FLASH_Apply_Q_UT_cntl_init | ( | void | ) |
References FLA_Blocksize_create(), and FLA_Cntl_apqut_obj_create().
Referenced by FLA_Cntl_init_flash().
00040 { 00041 // Set blocksize for hierarchical storage. 00042 flash_apqut_var2_bsize = FLA_Blocksize_create( 1, 1, 1, 1 ); 00043 00044 // Create a control tree to invoke variant 1. 00045 flash_apqut_cntl_leaf = FLA_Cntl_apqut_obj_create( FLA_HIER, 00046 FLA_SUBPROBLEM, 00047 NULL, 00048 NULL, 00049 NULL, 00050 NULL, 00051 NULL, 00052 NULL, 00053 NULL, 00054 NULL, 00055 NULL ); 00056 00057 // Create a control tree to invoke variant 2. 00058 flash_apqut_cntl = FLA_Cntl_apqut_obj_create( FLA_HIER, 00059 FLA_BLOCKED_VARIANT2, 00060 flash_apqut_var2_bsize, 00061 flash_apqut_cntl_leaf, 00062 NULL, 00063 NULL, 00064 NULL, 00065 NULL, 00066 NULL, 00067 NULL, 00068 NULL ); 00069 }