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

warmboot.h (905B)


      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-2020 Broadcom Inc. All rights reserved.
      6  *
      7  * File:	sh.h
      8  * Purpose:	Types and structures for command table entires and
      9  *		command return values for cshell commands.
     10  */
     11 
     12 #ifndef _DIAG_WARMBOOT_H
     13 #define _DIAG_WARMBOOT_H
     14 
     15 #ifdef BCM_WARM_BOOT_SUPPORT
     16 extern int appl_scache_file_close(int unit);
     17 extern int appl_scache_file_open(int unit, int warm_boot, char *filename);
     18 extern void appl_warm_boot_event_handler_cb(int unit, soc_switch_event_t event,
     19                                             uint32 arg1, uint32 arg2, uint32 arg3,
     20                                             void* userdata);
     21 #ifdef BCM_PETRA_SUPPORT
     22 extern int appl_scache_user_buffer(int unit);
     23 #endif
     24 
     25 #endif /* BCM_WARM_BOOT_SUPPORT */
     26 
     27 #endif /* _DIAG_WARMBOOT_H */