1 /***************************************************************************
2 * Copyright (c) 2024 Microsoft Corporation
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the MIT License which is available at
6 * https://opensource.org/licenses/MIT.
7 *
8 * SPDX-License-Identifier: MIT
9 **************************************************************************/
10
11
12 /**************************************************************************/
13 /**************************************************************************/
14 /** */
15 /** ThreadX Component */
16 /** */
17 /** Module Manager */
18 /** */
19 /**************************************************************************/
20 /**************************************************************************/
21
22
23 /* Include necessary system files. */
24
25 #include "tx_api.h"
26 #include "txm_module.h"
27 #ifndef TXM_MODULE_APPLICATION_REQUEST_CALL_NOT_USED
28 /**************************************************************************/
29 /* */
30 /* FUNCTION RELEASE */
31 /* */
32 /* _txm_module_manager_application_request PORTABLE C */
33 /* 6.1.10 */
34 /* AUTHOR */
35 /* */
36 /* Scott Larson, Microsoft Corporation */
37 /* */
38 /* DESCRIPTION */
39 /* */
40 /* This function processes the application-specific module request. */
41 /* The entire contents of the request structure is application */
42 /* specific and thus the processing in this file is left to the */
43 /* application to define. */
44 /* */
45 /* INPUT */
46 /* */
47 /* request_id Module request ID */
48 /* param_1 First parameter */
49 /* param_2 Second parameter */
50 /* param_3 Third parameter */
51 /* */
52 /* OUTPUT */
53 /* */
54 /* status Completion status */
55 /* */
56 /* CALLS */
57 /* */
58 /* None */
59 /* */
60 /* CALLED BY */
61 /* */
62 /* _txm_module_manager_kernel_dispatch Kernel dispatch function */
63 /* */
64 /* RELEASE HISTORY */
65 /* */
66 /* DATE NAME DESCRIPTION */
67 /* */
68 /* 09-30-2020 Scott Larson Initial Version 6.1 */
69 /* 01-31-2022 Scott Larson Modified comments and added */
70 /* CALL_NOT_USED option, */
71 /* resulting in version 6.1.10 */
72 /* */
73 /**************************************************************************/
_txm_module_manager_application_request(ULONG request_id,ALIGN_TYPE param_1,ALIGN_TYPE param_2,ALIGN_TYPE param_3)74 UINT _txm_module_manager_application_request(ULONG request_id, ALIGN_TYPE param_1, ALIGN_TYPE param_2, ALIGN_TYPE param_3)
75 {
76 /* By default, simply return the status of not available. */
77 return(TX_NOT_AVAILABLE);
78 }
79 #endif
80