openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

sw_state_access.c (1187B)


      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  * DO NOT EDIT THIS FILE!
      8  * This file is auto-generated.
      9  * Edits to this file will be lost when it is regenerated.
     10  */
     11 
     12 #include <sal/core/libc.h>
     13 #include <shared/swstate/sw_state.h>
     14 #include <shared/error.h>
     15 #include <shared/swstate/sw_state_defs.h>
     16 #include <shared/bsl.h>
     17 #include <shared/swstate/access/sw_state_access.h>
     18 #include <shared/swstate/access/sw_state_access.h>
     19 
     20 #ifdef _ERR_MSG_MODULE_NAME
     21     #error "_ERR_MSG_MODULE_NAME redefined"
     22 #endif
     23 
     24 #define _ERR_MSG_MODULE_NAME BSL_LS_SHARED_SWSTATE
     25 
     26 extern shr_sw_state_t *sw_state[BCM_MAX_NUM_UNITS];
     27 sw_state_cbs_t sw_state_access[SOC_MAX_NUM_DEVICES];
     28 
     29 
     30 
     31 int
     32 sw_state_access_cb_init(int unit){
     33     sw_state_dpp_access_cb_init(unit);
     34     sw_state_exm_access_cb_init(unit);
     35     sw_state_exmMixStatDyn_access_cb_init(unit);
     36     sw_state_issu_example_access_cb_init(unit);
     37     sw_state_issu_test_access_cb_init(unit);
     38     sw_state_miniExm_access_cb_init(unit);
     39     return _SHR_E_NONE;
     40 }
     41 
     42 #undef _ERR_MSG_MODULE_NAME