Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  64  */
  65 int _sdbc_memtype_deconfigure_delayed = 0;
  66 
  67 nsc_mem_t *sdbc_iobuf_mem, *sdbc_hash_mem;
  68 nsc_mem_t *sdbc_local_mem, *sdbc_stats_mem, *sdbc_cache_mem;
  69 nsc_mem_t *sdbc_info_mem;
  70 
  71 _sd_cache_param_t _sd_cache_config;
  72 
  73 kmutex_t _sdbc_config_lock;
  74 volatile int _sd_cache_dem_cnt;
  75 
  76 #if !defined(m88k) || defined(lint)
  77 volatile int _sd_cache_initialized;
  78 #endif
  79 
  80 static blind_t sdbc_power;
  81 
  82 static
  83 nsc_def_t _sdbc_power_def[] = {
  84         "Power_Lost",   (uintptr_t)_sdbc_power_lost,    0,
  85         "Power_OK",     (uintptr_t)_sdbc_power_ok,      0,
  86         "Power_Down",   (uintptr_t)_sdbc_power_down,    0,
  87         0,              0,              0
  88 };
  89 
  90 /*
  91  * Forward declare all statics that are used before defined to enforce
  92  * parameter checking
  93  * Some (if not all) of these could be removed if the code were reordered
  94  */
  95 
  96 int _sd_fill_pattern(caddr_t addr, uint_t pat, uint_t size);
  97 static void _sdbc_nodeid_deconfigure(void);
  98 static void _sdbc_nodeid_configure(void);
  99 static void _sdbc_thread_deconfigure(void);
 100 static int _sdbc_thread_configure(void);
 101 void sst_deinit();
 102 
 103 ss_common_config_t safestore_config;
 104 safestore_ops_t *sdbc_safestore;
 105 
 106 /*
 107  * _sdbc_memtype_configure - register with the sd layer the types of memory




  64  */
  65 int _sdbc_memtype_deconfigure_delayed = 0;
  66 
  67 nsc_mem_t *sdbc_iobuf_mem, *sdbc_hash_mem;
  68 nsc_mem_t *sdbc_local_mem, *sdbc_stats_mem, *sdbc_cache_mem;
  69 nsc_mem_t *sdbc_info_mem;
  70 
  71 _sd_cache_param_t _sd_cache_config;
  72 
  73 kmutex_t _sdbc_config_lock;
  74 volatile int _sd_cache_dem_cnt;
  75 
  76 #if !defined(m88k) || defined(lint)
  77 volatile int _sd_cache_initialized;
  78 #endif
  79 
  80 static blind_t sdbc_power;
  81 
  82 static
  83 nsc_def_t _sdbc_power_def[] = {
  84         { "Power_Lost", (uintptr_t)_sdbc_power_lost,    0 },
  85         { "Power_OK",   (uintptr_t)_sdbc_power_ok,      0 },
  86         { "Power_Down", (uintptr_t)_sdbc_power_down,    0 },
  87         { NULL,         (uintptr_t)NULL,                0 }
  88 };
  89 
  90 /*
  91  * Forward declare all statics that are used before defined to enforce
  92  * parameter checking
  93  * Some (if not all) of these could be removed if the code were reordered
  94  */
  95 
  96 int _sd_fill_pattern(caddr_t addr, uint_t pat, uint_t size);
  97 static void _sdbc_nodeid_deconfigure(void);
  98 static void _sdbc_nodeid_configure(void);
  99 static void _sdbc_thread_deconfigure(void);
 100 static int _sdbc_thread_configure(void);
 101 void sst_deinit();
 102 
 103 ss_common_config_t safestore_config;
 104 safestore_ops_t *sdbc_safestore;
 105 
 106 /*
 107  * _sdbc_memtype_configure - register with the sd layer the types of memory