1.11.2.6. RSU Client API
Pototype: | su_cliet_get_slot_cout(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Get the umbe of pedefied slots ad display the umbe of slots. |
Pototype: | su_cliet_get_slot_by_ame (cha *ame) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu eo code 23. |
Desciptio: | Get slot umbe based o ame ad display it. |
Pototype: | su_cliet_list_slot_attibute(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | List the attibute ifo fom the selected slot. The attibutes ae image ame, offset, size ad pioity level. |
Pototype: | su_cliet_get_slot_size(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Get the size fo a selected slot ad display slot size i bytes. |
Pototype: | su_cliet_get_pioity(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Get the pioity fo a selected slot ad display the pioity of the selected slot. |
Pototype: | su_cliet_slot_eable(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Set the selected slot as the highest pioity. |
Pototype: | su_cliet_slot_disable(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Disable selected slot but ot ease it. |
Pototype: | su_cliet_equest_slot_be_loaded (it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Request the selected slot be loaded. |
Pototype: | su_cliet_ease_image(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Ease the applicatio image fom a selected slot. |
Pototype: | su_cliet_equest_factoy_be_loaded(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Request the factoy image be loaded. |
Pototype: | su_cliet_add_image (it slot_um, void *buf, it size) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Add a ew image to the selected slot ad make it the highest pioity. The slot must be eased fist. |
Pototype: | su_cliet_veify_data(it slot_um, void *buf, it size) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Veify the Itel FPGA bitsteam i the selected slot. |
Pototype: | su_cliet_copy_to_buf(it slot_um, alt_u64 addess) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Read the data fom a slot the wite to a addess. |
Pototype: | su_cliet_status_log(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Pit the status log. |
Pototype: | su_cliet_clea_eo_status(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Clea eos fom the cuet RSU status. |
Pototype: | su_cliet_display_dcmf_vesio(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Display the fou decisio fimwae vesios. |
Pototype: | su_cliet_display_dcmf_status(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Display the status fo fou decisio fimwae. |
Pototype: | su_cliet_display_max_ety(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Display the max ety paamete |
Pototype: | su_cliet_slot_ceate(cha *slot_ame, alt_u64 slot_addess, usiged it slot_size) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Ceate a ew slot i the SPT, usig uused space. |
Pototype: | su_cliet_slot_eame (it slot, cha *ame) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu eo code23. |
Desciptio: | Reame the selected slot ad display it. |
Pototype: | su_cliet_slot_delete(it slot_um) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Delete selected slot, feeig up allocated space. |
Pototype: | su_cliet_estoe_spt (alt_u64 addess) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Restoe the SPT fom a addess. |
Pototype: | su_cliet_save_spt (alt_u64 addess) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Save the wokig SPT to a addess. |
Pototype: | su_cliet_ceate_empty_cpb(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Ceate a empty CPB, which icludes the CPB heade oly. All eties ae maked as uused. |
Pototype: | su_cliet_estoe_cpb (alt_u64 addess) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Restoe the CPB fom a addess. |
Pototype: | su_cliet_save_cpb(alt_u64 addess) |
Paametes: |
|
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Save the wokig CPB to a addess. |
Pototype: | su_cliet_check_uig_factoy(void) |
Paametes: | - |
Retu: | Retu 0 fo success, o othewise etu -1 o eo. |
Desciptio: | Check if cuetly uig image is the factoy image. |