12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /* SPDX-License-Identifier: LGPL-2.1 OR BSD-3-Clause */
- //--=========================================================================--
- // This file is a part of VPU Reference API project
- //-----------------------------------------------------------------------------
- //
- // This confidential and proprietary software may be used only
- // as authorized by a licensing agreement from Chips&Media Inc.
- // In the event of publication, the following notice is applicable:
- //
- // (C) COPYRIGHT CHIPS&MEDIA INC.
- // ALL RIGHTS RESERVED
- //
- // The entire notice above must be reproduced on all authorized
- // copies.
- //
- //--=========================================================================--
- #ifndef _DEBUG_H_
- #define _DEBUG_H_
- #include "config.h"
- #include "../main_helper.h"
- enum {
- CNMQC_ENV_NONE,
- CNMQC_ENV_GDBSERVER = (1<<16), /*!<< It executes gdb server in order to debug F/W on the C&M FPGA env. */
- CNMQC_ENV_MAX,
- };
- #ifdef __cplusplus
- extern "C" {
- #endif /* __cplusplus */
- /* @param options It can be multiples of the above options.
- */
- extern void InitializeDebugEnv(
- Uint32 productId,
- Uint32 options
- );
- extern void ReleaseDebugEnv(
- void
- );
- void PrintVpuStatus(
- Uint32 coreIdx,
- Uint32 productId
- );
- #ifdef __cplusplus
- }
- #endif /* __cplusplus */
- #endif /* _SKIP_H_ */
|