41 #if !defined(__OCS_HAL_WORKAROUND_H__)
42 #define __OCS_HAL_WORKAROUND_H__
49 #define HAL_FWREV(a,b,c,d) (((uint64_t)(a) << 48) | ((uint64_t)(b) << 32) | ((uint64_t)(c) << 16) | ((uint64_t)(d)))
50 #define HAL_FWREV_1(x) HAL_FWREV(x)
52 #define OCS_FW_VER_STR2(a,b,c,d) #a "." #b "." #c "." #d
53 #define OCS_FW_VER_STR(x) OCS_FW_VER_STR2(x)
55 #define OCS_MIN_FW_VER_LANCER 10,4,255,0
56 #define OCS_MIN_FW_VER_SKYHAWK 10,4,255,0
87 #endif // __OCS_HAL_WORKAROUND_H__
uint8_t use_unregistered_rpi
uint32_t unregistered_rid
uint8_t fw_version_too_low
uint8_t disable_ar_tgt_dif
uint8_t retain_tsend_io_length
void ocs_hal_workaround_setup(struct ocs_hal_s *hal)
Setup HAL runtime workarounds.
uint32_t unregistered_index
uint8_t use_dif_quarantine
uint8_t ignore_send_frame