diag_sand_dsig.h (911B)
1 /* 2 * ! \file diag_sand_dsig.h 3 * 4 * Purpose: Interface to debug_signal database 5 */ 6 /* 7 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 8 * 9 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 10 */ 11 12 #ifndef __DIAG_SAND_DSIG_H 13 #define __DIAG_SAND_DSIG_H 14 15 #include <appl/diag/shell.h> 16 17 #define SIGNALS_PRINT_DETAIL 0x01 18 #define SIGNALS_PRINT_VALUE 0x02 19 #define SIGNALS_PRINT_DEVICE 0x08 20 #define SIGNALS_PRINT_CORE 0x10 21 #define SIGNALS_PRINT_HW 0x20 22 #define SIGNALS_PRINT_ASIC 0x40 23 #define SIGNALS_PRINT_STATUS 0x80 24 25 typedef enum 26 { 27 SIG_COMMAND_DEBUG, 28 SIG_COMMAND_INTERNAL, 29 SIG_COMMAND_STAGE, 30 SIG_COMMAND_PARAM, 31 SIG_COMMAND_STRUCT, 32 SIG_COMMAND_DEBUG_SINGLE 33 } SIG_COMMAND; 34 35 cmd_result_t cmd_sand_dsig_show( 36 int unit, 37 args_t * a); 38 39 #endif /* __DIAG_SAND_DSIG_H */