sw_state_workarounds.h (1068B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 */ 7 #ifndef _SHR_SW_STATE_WORKAROUNDS_H 8 #define _SHR_SW_STATE_WORKAROUNDS_H 9 10 #if defined(INCLUDE_KBP) && !defined(BCM_88030) 11 #include <soc/kbp/alg_kbp/include/db.h> 12 #include <soc/kbp/alg_kbp/include/device.h> 13 #endif /* defined(INCLUDE_KBP) && !defined(BCM_88030) */ 14 15 16 17 #if defined(INCLUDE_KBP) && !defined(BCM_88030) 18 /* 19 * this workaround is used to avoid the use of struct kbp_db inside the PARSED driver code 20 * this file is not parsed by autocoder 21 * use kbp_db_t in driver code instead. 22 */ 23 typedef struct kbp_db kbp_db_t; 24 typedef struct kbp_entry kbp_entry_t; 25 typedef struct kbp_ad kbp_ad_t; 26 typedef struct kbp_key kbp_key_t; 27 typedef struct kbp_ad_db kbp_ad_db_t; 28 typedef struct kbp_instruction kbp_instruction_t; 29 typedef enum kbp_db_type kbp_db_type_t; 30 #endif /* defined(INCLUDE_KBP) && !defined(BCM_88030) */ 31 32 33 34 #endif /* _SHR_SW_STATE_WORKAROUNDS_H */ 35 36