| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2010-2011, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bdbg_priv.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/2 $ |
|---|
| 12 | * $brcm_Date: 6/6/11 3:27p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/basemodules/dbg/bdbg_priv.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/2 6/6/11 3:27p vsilyaev |
|---|
| 21 | * SW7405-4477: Routed all debug output through buffer and use external |
|---|
| 22 | * application to extract and print debug output |
|---|
| 23 | * |
|---|
| 24 | * Hydra_Software_Devel/1 4/13/11 6:57p vsilyaev |
|---|
| 25 | * SW7405-5221: Private API for the debug modules |
|---|
| 26 | * |
|---|
| 27 | * |
|---|
| 28 | ***************************************************************************/ |
|---|
| 29 | #ifndef BDBG_PRIV_H |
|---|
| 30 | #define BDBG_PRIV_H |
|---|
| 31 | |
|---|
| 32 | #ifdef __cplusplus |
|---|
| 33 | extern "C" { |
|---|
| 34 | #endif |
|---|
| 35 | /* Private declarations starts here */ |
|---|
| 36 | #define BDBG_NOP() (void)0 |
|---|
| 37 | int BDBG_P_Vprintf(const char *fmt, va_list ap); |
|---|
| 38 | void BDBG_P_PrintString(const char *fmt, ...); |
|---|
| 39 | int BDBG_P_Vprintf_Log(BDBG_ModulePrintKind kind, const char *fmt, va_list ap); |
|---|
| 40 | BERR_Code BDBG_P_PrintError(const char *file, unsigned lineno, const char *error, BERR_Code error_no); |
|---|
| 41 | void BDBG_P_AssertFailed(const char *expr, const char *file, unsigned line); |
|---|
| 42 | |
|---|
| 43 | #ifdef __cplusplus |
|---|
| 44 | } |
|---|
| 45 | #endif |
|---|
| 46 | |
|---|
| 47 | #endif /* BDBG_PRIV_H */ |
|---|
| 48 | |
|---|