Line data Source code
1 : /**
2 : * Copyright (c) 2025 Huawei Technologies Co., Ltd.
3 : * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
4 : * CANN Open Software License Agreement Version 2.0 (the "License").
5 : * Please refer to the License for details. You may not use this file except in compliance with the License.
6 : * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
7 : * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8 : * See LICENSE in the root of the software repository for the full text of the License.
9 : */
10 :
11 : #include "qs_tsd.h"
12 : #include <string>
13 1 : int32_t TsdWaitForShutdown(const uint32_t deviceId, const TsdWaitType waitType,
14 : const uint32_t hostPid, const uint32_t vfId)
15 : {
16 : (void)deviceId;
17 : (void)waitType;
18 : (void)hostPid;
19 : (void)vfId;
20 1 : return 0;
21 : }
22 :
23 1 : int32_t TsdReportStartOrStopErrCode(const uint32_t deviceId, const TsdWaitType waitType,
24 : const uint32_t hostPid, const uint32_t vfId,
25 : const char *errCode, const uint32_t errLen)
26 : {
27 : (void)deviceId;
28 : (void)waitType;
29 : (void)hostPid;
30 : (void)vfId;
31 : (void)errCode;
32 : (void)errLen;
33 1 : return 0;
34 : }
35 :
36 1 : int32_t RegEventMsgCallBackFunc(const struct SubProcEventCallBackInfo *regInfo)
37 : {
38 : (void)regInfo;
39 1 : return 0;
40 : }
41 :
42 1 : void UnRegEventMsgCallBackFunc(const uint32_t eventType)
43 : {
44 : (void)eventType;
45 1 : return;
46 : }
47 :
48 1 : int32_t SubModuleProcessResponse(const uint32_t deviceId, const TsdWaitType waitType,
49 : const uint32_t hostPid, const uint32_t vfId,
50 : const uint32_t eventType)
51 : {
52 : (void)deviceId;
53 : (void)waitType;
54 : (void)hostPid;
55 : (void)vfId;
56 : (void)eventType;
57 1 : return 0;
58 : }
59 :
60 1 : int32_t TsdDestroy(const uint32_t deviceId, const TsdWaitType waitType,
61 : const uint32_t hostPid, const uint32_t vfId)
62 : {
63 : (void)deviceId;
64 : (void)waitType;
65 : (void)hostPid;
66 : (void)vfId;
67 1 : return 0;
68 : }
|