mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 04:24:48 +00:00
Compare commits
31 Commits
v6.1.2_rel
...
v6.1.11_re
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e11c166a40 | ||
|
|
408f9fa1b7 | ||
|
|
cef9cb22a5 | ||
|
|
f851772ce0 | ||
|
|
cd4e736a44 | ||
|
|
11303a0e1b | ||
|
|
db11aba063 | ||
|
|
fd403521e9 | ||
|
|
f7f0957188 | ||
|
|
b216ceb25e | ||
|
|
1af8404c54 | ||
|
|
215df45d4b | ||
|
|
06064828ef | ||
|
|
d0dab58250 | ||
|
|
244365fc6a | ||
|
|
a891c3f903 | ||
|
|
db7a3972a8 | ||
|
|
f5056f4923 | ||
|
|
d759e6bb9e | ||
|
|
b12bd44faa | ||
|
|
6ffaf848a0 | ||
|
|
c8ed70019e | ||
|
|
10a7932b9d | ||
|
|
32e3b3b25f | ||
|
|
f108ebdbaf | ||
|
|
b0e9b132b5 | ||
|
|
848e7d8169 | ||
|
|
69287b8bb4 | ||
|
|
1777796996 | ||
|
|
64b4d510ba | ||
|
|
609c75a2e5 |
6
.github/workflows/ci_cortex_m0.yml
vendored
6
.github/workflows/ci_cortex_m0.yml
vendored
@@ -43,12 +43,12 @@ jobs:
|
||||
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
|
||||
|
||||
# Get CMake into the environment
|
||||
- name: Install cmake 3.17.1
|
||||
uses: lukka/get-cmake@v3.17.1
|
||||
- name: Install cmake 3.19.1
|
||||
uses: lukka/get-cmake@v3.19.1
|
||||
|
||||
# Get Ninja into the environment
|
||||
- name: Install ninja-build
|
||||
uses: seanmiddleditch/gha-setup-ninja@v1
|
||||
uses: seanmiddleditch/gha-setup-ninja@v3
|
||||
|
||||
# Prepare the build system
|
||||
- name: Prepare build system
|
||||
|
||||
6
.github/workflows/ci_cortex_m3.yml
vendored
6
.github/workflows/ci_cortex_m3.yml
vendored
@@ -43,12 +43,12 @@ jobs:
|
||||
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
|
||||
|
||||
# Get CMake into the environment
|
||||
- name: Install cmake 3.17.1
|
||||
uses: lukka/get-cmake@v3.17.1
|
||||
- name: Install cmake 3.19.1
|
||||
uses: lukka/get-cmake@v3.19.1
|
||||
|
||||
# Get Ninja into the environment
|
||||
- name: Install ninja-build
|
||||
uses: seanmiddleditch/gha-setup-ninja@v1
|
||||
uses: seanmiddleditch/gha-setup-ninja@v3
|
||||
|
||||
# Prepare the build system
|
||||
- name: Prepare build system
|
||||
|
||||
6
.github/workflows/ci_cortex_m4.yml
vendored
6
.github/workflows/ci_cortex_m4.yml
vendored
@@ -43,12 +43,12 @@ jobs:
|
||||
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
|
||||
|
||||
# Get CMake into the environment
|
||||
- name: Install cmake 3.17.1
|
||||
uses: lukka/get-cmake@v3.17.1
|
||||
- name: Install cmake 3.19.1
|
||||
uses: lukka/get-cmake@v3.19.1
|
||||
|
||||
# Get Ninja into the environment
|
||||
- name: Install ninja-build
|
||||
uses: seanmiddleditch/gha-setup-ninja@v1
|
||||
uses: seanmiddleditch/gha-setup-ninja@v3
|
||||
|
||||
# Prepare the build system
|
||||
- name: Prepare build system
|
||||
|
||||
6
.github/workflows/ci_cortex_m7.yml
vendored
6
.github/workflows/ci_cortex_m7.yml
vendored
@@ -43,12 +43,12 @@ jobs:
|
||||
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
|
||||
|
||||
# Get CMake into the environment
|
||||
- name: Install cmake 3.17.1
|
||||
uses: lukka/get-cmake@v3.17.1
|
||||
- name: Install cmake 3.19.1
|
||||
uses: lukka/get-cmake@v3.19.1
|
||||
|
||||
# Get Ninja into the environment
|
||||
- name: Install ninja-build
|
||||
uses: seanmiddleditch/gha-setup-ninja@v1
|
||||
uses: seanmiddleditch/gha-setup-ninja@v3
|
||||
|
||||
# Prepare the build system
|
||||
- name: Prepare build system
|
||||
|
||||
@@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
|
||||
|
||||
# Set up the project
|
||||
project(threadx
|
||||
VERSION 6.0.0
|
||||
LANGUAGES C ASM
|
||||
)
|
||||
|
||||
@@ -12,6 +11,8 @@ endif()
|
||||
if(NOT DEFINED THREADX_TOOLCHAIN)
|
||||
message(FATAL_ERROR "Error: THREADX_TOOLCHAIN not defined")
|
||||
endif()
|
||||
message(STATUS "THREADX_ARCH: ${THREADX_ARCH}")
|
||||
message(STATUS "THREADX_TOOLCHAIN: ${THREADX_TOOLCHAIN}")
|
||||
|
||||
# Define our target library and an alias for consumers
|
||||
add_library(${PROJECT_NAME})
|
||||
@@ -21,7 +22,11 @@ add_library("azrtos::${PROJECT_NAME}" ALIAS ${PROJECT_NAME})
|
||||
set(CUSTOM_INC_DIR ${CMAKE_CURRENT_BINARY_DIR}/custom_inc)
|
||||
|
||||
# Pick up the port specific variables and apply them
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/ports/${THREADX_ARCH}/${THREADX_TOOLCHAIN})
|
||||
if(DEFINED THREADX_CUSTOM_PORT)
|
||||
add_subdirectory(${THREADX_CUSTOM_PORT} threadx_port)
|
||||
else()
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/ports/${THREADX_ARCH}/${THREADX_TOOLCHAIN})
|
||||
endif()
|
||||
|
||||
# Pick up the common stuff
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/common)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
LICENSED HARDWARE LIST
|
||||
|
||||
Last Updated: 2020-10-15
|
||||
Last Updated: 2021-04-01
|
||||
|
||||
Microsoft has entered into OEM Agreements with manufacturers of the following
|
||||
microprocessors and microcontrollers (the “hardware”) to enable those
|
||||
@@ -11,6 +11,16 @@ Production Use” rights in Section 2 of the Microsoft Software License Terms fo
|
||||
Microsoft Azure RTOS. If hardware is not listed below, you do not have those
|
||||
rights.
|
||||
|
||||
|
||||
STMicroelectronics:
|
||||
|
||||
STM32 MCUs
|
||||
STM32 MPUs
|
||||
|
||||
MediaTek:
|
||||
|
||||
MT3620 MCU (Azure Sphere)
|
||||
|
||||
Microchip:
|
||||
|
||||
PIC 32-bit MCUs
|
||||
@@ -18,12 +28,16 @@ Microchip:
|
||||
SAM 32-bit MPUs
|
||||
|
||||
NXP:
|
||||
i.MX RT105x/6x cross over MCUs
|
||||
|
||||
i.MX RT10xx and RT116x/7x series crossover MCUs
|
||||
LPC5500 series
|
||||
|
||||
|
||||
Renesas:
|
||||
|
||||
Synergy Platform
|
||||
RX Family of MCUs
|
||||
RA Family of MCUs
|
||||
RZ Family of MPUs
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
20
README.md
20
README.md
@@ -36,7 +36,7 @@ $ git clone https://github.com/azure-rtos/threadx.git
|
||||
|
||||
## Building as a static library
|
||||
|
||||
Each component of Azure RTOS comes with a composible CMake-based build system that supports many different MCUs and host systems. Integrating any of these components into your device app code is as simple as adding a git submodule and then including it in your build using the CMake command `add_subdirectory()`.
|
||||
Each component of Azure RTOS comes with a composable CMake-based build system that supports many different MCUs and host systems. Integrating any of these components into your device app code is as simple as adding a git submodule and then including it in your build using the CMake command `add_subdirectory()`.
|
||||
|
||||
While the typical usage pattern is to include threadx into your device code source tree to be built & linked with your code, you can compile this project as a standalone static library to confirm your build is set up correctly.
|
||||
|
||||
@@ -85,9 +85,13 @@ Each official release (preview or GA) will be tagged to mark the commit and push
|
||||
|
||||
Azure RTOS provides OEMs with components to secure communication and to create code and data isolation using underlying MCU/MPU hardware protection mechanisms. It is ultimately the responsibility of the device builder to ensure the device fully meets the evolving security requirements associated with its specific use case.
|
||||
|
||||
# Adaptation layer for ThreadX
|
||||
|
||||
Azure RTOS ThreadX is an advanced real-time operating system (RTOS) designed specifically for deeply embedded applications. To help ease application migration to Auzre RTOS, ThreadX provides [adaption layers](https://github.com/azure-rtos/threadx/tree/master/utility/rtos_compatibility_layers) for various legacy RTOS APIs (FreeRTOS, POSIX, OSEK, etc.).
|
||||
|
||||
# Licensing
|
||||
|
||||
License terms for using Azure RTOS are defined in the LICENSE.txt file of this repo. Please refer to this file for all definitive licensing information. No additional license fees are required for deploying Azure RTOS on hardware defined in the LICENSED-HARDWARE.txt file. If you are using hardware not defined in the LICENSED-HARDWARE.txt file or have licensing questions in general, please contact Microsoft directly at https://azure-rtos.ms-iot-contact.com/
|
||||
License terms for using Azure RTOS are defined in the LICENSE.txt file of this repo. Please refer to this file for all definitive licensing information. No additional license fees are required for deploying Azure RTOS on hardware defined in the LICENSED-HARDWARE.txt file. If you are using hardware not defined in the LICENSED-HARDWARE.txt file or have licensing questions in general, please contact Microsoft directly at https://aka.ms/azrtos-license.
|
||||
|
||||
# Contribution, feedback, issues, and professional support
|
||||
|
||||
@@ -100,12 +104,14 @@ Professional support plans (https://azure.microsoft.com/en-us/support/options/)
|
||||
# Additional Resources
|
||||
|
||||
The following are references to additional Azure RTOS and Azure IoT in general:
|
||||
| | |
|
||||
| Content | Link |
|
||||
|---|---|
|
||||
| TraceX Installer | https://aka.ms/azrtos-tracex-installer |
|
||||
| Azure RTOS Documenation and Guides: | https://docs.microsoft.com/azure/rtos |
|
||||
| Azure RTOS Documentation and Guides: | https://docs.microsoft.com/azure/rtos |
|
||||
| Azure RTOS Website: | https://azure.microsoft.com/services/rtos/ |
|
||||
| Azure RTOS Sales Questions: | https://azure-rtos.ms-iot-contact.com/ |
|
||||
| For technical questions check out Microsoft Q/A for Azure IoT: | https://aka.ms/QnA/azure-rtos |
|
||||
| Internet of Things Show for latest announcements and online training: | https://aka.ms/iotshow |
|
||||
| IoT Tech Community: | https://aka.ms/community/azure-rtos |
|
||||
| Azure RTOS Product Support Policy | https://aka.ms/azrtos/lts |
|
||||
| Azure RTOS Functional Safety Artifacts | https://aka.ms/azrtos/tuv |
|
||||
| For technical questions check out Microsoft Q/A for Azure IoT | https://aka.ms/QnA/azure-rtos |
|
||||
| Internet of Things Show for latest announcements and online training | https://aka.ms/iotshow |
|
||||
| IoT Tech Community | https://aka.ms/community/azure-rtos |
|
||||
|
||||
@@ -17,7 +17,7 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
||||
|
||||
set(CMAKE_C_FLAGS "${MCPU_FLAGS} ${VFP_FLAGS} ${SPEC_FLAGS} -fdata-sections -ffunction-sections -mlong-calls" CACHE INTERNAL "c compiler flags")
|
||||
set(CMAKE_CXX_FLAGS "${MCPU_FLAGS} ${VFP_FLAGS} -fdata-sections -ffunction-sections -fno-rtti -fno-exceptions -mlong-calls" CACHE INTERNAL "cxx compiler flags")
|
||||
set(CMAKE_ASM_FLAGS "${MCPU_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")
|
||||
set(CMAKE_ASM_FLAGS "${MCPU_FLAGS} ${VFP_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${MCPU_FLAGS} ${LD_FLAGS} -Wl,--gc-sections" CACHE INTERNAL "exe link flags")
|
||||
|
||||
SET(CMAKE_C_FLAGS_DEBUG "-Og -g -ggdb3" CACHE INTERNAL "c debug compiler flags")
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
||||
/* */
|
||||
/* tx_api.h PORTABLE C */
|
||||
/* 6.1.2 */
|
||||
/* 6.1.11 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -43,21 +43,49 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 William E. Lamie Modified comment(s), and */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 William E. Lamie Modified comment(s), and */
|
||||
/* updated product constants, */
|
||||
/* added new thread execution */
|
||||
/* state TX_PRIORITY_CHANGE, */
|
||||
/* added macros for casting */
|
||||
/* pointers to ALIGN_TYPE, */
|
||||
/* resulting in version 6.1 */
|
||||
/* 10-16-2020 William E. Lamie Modified comment(s), and */
|
||||
/* 10-16-2020 William E. Lamie Modified comment(s), and */
|
||||
/* increased patch version, */
|
||||
/* resulting in version 6.1.1 */
|
||||
/* 11-09-2020 Yuxin Zhou Modified comment(s), and */
|
||||
/* 11-09-2020 Yuxin Zhou Modified comment(s), and */
|
||||
/* moved TX_THREAD_GET_SYSTEM_ */
|
||||
/* STATE to tx_api.h, */
|
||||
/* resulting in version 6.1.2 */
|
||||
/* 12-31-2020 William E. Lamie Modified comment(s), and */
|
||||
/* increased patch version, */
|
||||
/* resulting in version 6.1.3 */
|
||||
/* 03-02-2021 Scott Larson Modified comment(s), and */
|
||||
/* order defines numerically, */
|
||||
/* add option to remove FileX */
|
||||
/* pointer, */
|
||||
/* resulting in version 6.1.5 */
|
||||
/* 04-02-2021 Scott Larson Modified comment(s), and */
|
||||
/* update patch number, */
|
||||
/* resulting in version 6.1.6 */
|
||||
/* 06-02-2021 Yuxin Zhou Modified comment(s), added */
|
||||
/* Execution Profile support, */
|
||||
/* resulting in version 6.1.7 */
|
||||
/* 08-02-2021 Scott Larson Modified comment(s), and */
|
||||
/* update patch number, */
|
||||
/* resulting in version 6.1.8 */
|
||||
/* 10-15-2021 Yuxin Zhou Modified comment(s), */
|
||||
/* update patch number, */
|
||||
/* resulting in version 6.1.9 */
|
||||
/* 01-31-2022 Scott Larson Modified comment(s), */
|
||||
/* add unused parameter macro, */
|
||||
/* update patch number, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* 04-25-2022 Wenhui Xie Modified comment(s), */
|
||||
/* optimized the definition of */
|
||||
/* TX_TIMER_TICKS_PER_SECOND, */
|
||||
/* resulting in version 6.1.11 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
@@ -75,6 +103,10 @@ extern "C" {
|
||||
|
||||
#endif
|
||||
|
||||
/* Disable warning of parameter not used. */
|
||||
#ifndef TX_PARAMETER_NOT_USED
|
||||
#define TX_PARAMETER_NOT_USED(p) ((void)(p))
|
||||
#endif /* TX_PARAMETER_NOT_USED */
|
||||
|
||||
/* Include the port-specific data type file. */
|
||||
|
||||
@@ -90,7 +122,7 @@ extern "C" {
|
||||
#define AZURE_RTOS_THREADX
|
||||
#define THREADX_MAJOR_VERSION 6
|
||||
#define THREADX_MINOR_VERSION 1
|
||||
#define THREADX_PATCH_VERSION 2
|
||||
#define THREADX_PATCH_VERSION 11
|
||||
|
||||
/* Define the following symbol for backward compatibility */
|
||||
#define EL_PRODUCT_THREADX
|
||||
@@ -151,7 +183,6 @@ extern "C" {
|
||||
|
||||
#define TX_SUCCESS ((UINT) 0x00)
|
||||
#define TX_DELETED ((UINT) 0x01)
|
||||
#define TX_NO_MEMORY ((UINT) 0x10)
|
||||
#define TX_POOL_ERROR ((UINT) 0x02)
|
||||
#define TX_PTR_ERROR ((UINT) 0x03)
|
||||
#define TX_WAIT_ERROR ((UINT) 0x04)
|
||||
@@ -166,6 +197,7 @@ extern "C" {
|
||||
#define TX_NO_INSTANCE ((UINT) 0x0D)
|
||||
#define TX_THREAD_ERROR ((UINT) 0x0E)
|
||||
#define TX_PRIORITY_ERROR ((UINT) 0x0F)
|
||||
#define TX_NO_MEMORY ((UINT) 0x10)
|
||||
#define TX_START_ERROR ((UINT) 0x10)
|
||||
#define TX_DELETE_ERROR ((UINT) 0x11)
|
||||
#define TX_RESUME_ERROR ((UINT) 0x12)
|
||||
@@ -193,7 +225,7 @@ extern "C" {
|
||||
as a compilation option. */
|
||||
|
||||
#ifndef TX_TIMER_TICKS_PER_SECOND
|
||||
#define TX_TIMER_TICKS_PER_SECOND ((ULONG) 100)
|
||||
#define TX_TIMER_TICKS_PER_SECOND (100UL)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -419,7 +451,9 @@ typedef struct TX_THREAD_STRUCT
|
||||
TX_THREAD_EXTENSION_2
|
||||
|
||||
/* Define a pointer type for FileX extensions. */
|
||||
#ifndef TX_NO_FILEX_POINTER
|
||||
VOID *tx_thread_filex_ptr;
|
||||
#endif
|
||||
|
||||
/* Define the priority inheritance variables. These will be used
|
||||
to manage priority inheritance changes applied to this thread
|
||||
@@ -485,6 +519,17 @@ typedef struct TX_THREAD_STRUCT
|
||||
is typically defined to whitespace in tx_port.h. */
|
||||
TX_THREAD_EXTENSION_3
|
||||
|
||||
|
||||
/* Define variables for supporting execution profile. */
|
||||
/* Note that in ThreadX 5.x, user would define TX_ENABLE_EXECUTION_CHANGE_NOTIFY and use TX_THREAD_EXTENSION_3
|
||||
to define the following two variables.
|
||||
For Azure RTOS 6, user shall use TX_EXECUTION_PROFILE_ENABLE instead of TX_ENABLE_EXECUTION_CHANGE_NOTIFY,
|
||||
and SHALL NOT add variables to TX_THREAD_EXTENSION_3. */
|
||||
#if (defined(TX_EXECUTION_PROFILE_ENABLE) && !defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY))
|
||||
unsigned long long tx_thread_execution_time_total;
|
||||
unsigned long long tx_thread_execution_time_last_start;
|
||||
#endif
|
||||
|
||||
/* Define suspension sequence number. This is used to ensure suspension is still valid when
|
||||
cleanup routine executes. */
|
||||
ULONG tx_thread_suspension_sequence;
|
||||
@@ -1089,7 +1134,6 @@ UINT _tx_trace_interrupt_control(UINT new_posture);
|
||||
|
||||
#ifdef TX_ENABLE_MULTI_ERROR_CHECKING
|
||||
|
||||
|
||||
/* Services with MULTI runtime error checking ThreadX. */
|
||||
|
||||
#define tx_block_allocate _txr_block_allocate
|
||||
@@ -1787,7 +1831,6 @@ VOID _tx_misra_user_timer_pointer_get(TX_TIMER_INTERNAL *inte
|
||||
VOID _tx_misra_thread_stack_check(TX_THREAD *thread_ptr, VOID **highest_stack);
|
||||
VOID _tx_misra_trace_event_insert(ULONG event_id, VOID *info_field_1, ULONG info_field_2, ULONG info_field_3, ULONG info_field_4, ULONG filter, ULONG time_stamp);
|
||||
UINT _tx_misra_always_true(void);
|
||||
|
||||
UCHAR **_tx_misra_indirect_void_to_uchar_pointer_convert(VOID **pointer);
|
||||
UCHAR **_tx_misra_uchar_to_indirect_uchar_pointer_convert(UCHAR *pointer);
|
||||
UCHAR *_tx_misra_block_pool_to_uchar_pointer_convert(TX_BLOCK_POOL *pool);
|
||||
@@ -1820,7 +1863,6 @@ VOID _tx_misra_semaphore_put_notify_not_used(VOID (*semaphore
|
||||
VOID _tx_misra_thread_not_used(TX_THREAD *thread_ptr);
|
||||
VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*thread_entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT id));
|
||||
|
||||
|
||||
#define TX_MEMSET(a,b,c) _tx_misra_memset((a), (UINT) (b), (UINT) (c))
|
||||
#define TX_UCHAR_POINTER_ADD(a,b) _tx_misra_uchar_pointer_add((UCHAR *) (a), (ULONG) (b))
|
||||
#define TX_UCHAR_POINTER_SUB(a,b) _tx_misra_uchar_pointer_sub((UCHAR *) (a), (ULONG) (b))
|
||||
@@ -1839,8 +1881,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
|
||||
#define TX_TRACE_IN_LINE_INSERT(i,a,b,c,d,e) _tx_misra_trace_event_insert((ULONG) (i), (VOID *) (a), (ULONG) (b), (ULONG) (c), (ULONG) (d), (ULONG) (e), ((ULONG) TX_TRACE_TIME_SOURCE));
|
||||
#endif
|
||||
#define TX_LOOP_FOREVER (_tx_misra_always_true() == TX_TRUE)
|
||||
|
||||
|
||||
#define TX_INDIRECT_VOID_TO_UCHAR_POINTER_CONVERT(a) _tx_misra_indirect_void_to_uchar_pointer_convert((a))
|
||||
#define TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(a) _tx_misra_uchar_to_indirect_uchar_pointer_convert((a))
|
||||
#define TX_BLOCK_POOL_TO_UCHAR_POINTER_CONVERT(a) _tx_misra_block_pool_to_uchar_pointer_convert((a))
|
||||
@@ -1876,7 +1916,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
|
||||
#define TX_THREAD_NOT_USED(a) _tx_misra_thread_not_used((a))
|
||||
#define TX_THREAD_ENTRY_EXIT_NOTIFY_NOT_USED(a) _tx_misra_thread_entry_exit_notify_not_used((a))
|
||||
|
||||
|
||||
#else
|
||||
|
||||
/* Define the TX_MEMSET macro to the standard library function, if not already defined. */
|
||||
@@ -1905,8 +1944,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
|
||||
(b) = (TX_TIMER *) working_ptr; \
|
||||
}
|
||||
#define TX_LOOP_FOREVER ((UINT) 1)
|
||||
|
||||
|
||||
#define TX_INDIRECT_VOID_TO_UCHAR_POINTER_CONVERT(a) ((UCHAR **) ((VOID *) (a)))
|
||||
#define TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(a) ((UCHAR **) ((VOID *) (a)))
|
||||
#define TX_BLOCK_POOL_TO_UCHAR_POINTER_CONVERT(a) ((UCHAR *) ((VOID *) (a)))
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/* COMPONENT DEFINITION RELEASE */
|
||||
/* */
|
||||
/* tx_thread.h PORTABLE C */
|
||||
/* 6.1.2 */
|
||||
/* 6.1.9 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -48,6 +48,9 @@
|
||||
/* moved TX_THREAD_GET_SYSTEM_ */
|
||||
/* STATE to tx_api.h, */
|
||||
/* resulting in version 6.1.2 */
|
||||
/* 10-15-2021 Scott Larson Modified comment(s), improved */
|
||||
/* stack check error handling, */
|
||||
/* resulting in version 6.1.9 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
@@ -114,6 +117,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* Define the get system state macro. By default, it simply maps to the variable _tx_thread_system_state. */
|
||||
/* This symbol is moved to tx_api.h. Therefore removed from this file.
|
||||
#ifndef TX_THREAD_GET_SYSTEM_STATE
|
||||
@@ -437,7 +441,7 @@ THREAD_DECLARE VOID (*_tx_thread_mutex_release)(TX_THREAD *thread_pt
|
||||
THREAD_DECLARE ULONG _tx_build_options;
|
||||
|
||||
|
||||
#ifdef TX_ENABLE_STACK_CHECKING
|
||||
#if defined(TX_ENABLE_STACK_CHECKING) || defined(TX_PORT_THREAD_STACK_ERROR_HANDLING)
|
||||
|
||||
/* Define the global function pointer for stack error handling. If a stack error is
|
||||
detected and the application has registered a stack error handler, it will be
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/* PORT SPECIFIC C INFORMATION RELEASE */
|
||||
/* */
|
||||
/* tx_user.h PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.11 */
|
||||
/* */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
@@ -44,9 +44,24 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 03-02-2021 Scott Larson Modified comment(s), */
|
||||
/* added option to remove */
|
||||
/* FileX pointer, */
|
||||
/* resulting in version 6.1.5 */
|
||||
/* 06-02-2021 Scott Larson Added options for multiple */
|
||||
/* block pool search & delay, */
|
||||
/* resulting in version 6.1.7 */
|
||||
/* 10-15-2021 Yuxin Zhou Modified comment(s), added */
|
||||
/* user-configurable symbol */
|
||||
/* TX_TIMER_TICKS_PER_SECOND */
|
||||
/* resulting in version 6.1.9 */
|
||||
/* 04-25-2022 Wenhui Xie Modified comment(s), */
|
||||
/* optimized the definition of */
|
||||
/* TX_TIMER_TICKS_PER_SECOND, */
|
||||
/* resulting in version 6.1.11 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
@@ -76,6 +91,7 @@
|
||||
TX_DISABLE_PREEMPTION_THRESHOLD
|
||||
TX_DISABLE_REDUNDANT_CLEARING
|
||||
TX_DISABLE_NOTIFY_CALLBACKS
|
||||
TX_NO_FILEX_POINTER
|
||||
TX_NOT_INTERRUPTABLE
|
||||
TX_TIMER_PROCESS_IN_ISR
|
||||
|
||||
@@ -98,6 +114,25 @@
|
||||
#define TX_TIMER_THREAD_PRIORITY ????
|
||||
*/
|
||||
|
||||
/* Define the common timer tick reference for use by other middleware components. The default
|
||||
value is 10ms (i.e. 100 ticks, defined in tx_api.h), but may be replaced by a port-specific
|
||||
version in tx_port.h or here.
|
||||
Note: the actual hardware timer value may need to be changed (usually in tx_initialize_low_level). */
|
||||
|
||||
/*
|
||||
#define TX_TIMER_TICKS_PER_SECOND (100UL)
|
||||
*/
|
||||
|
||||
/* Determine if there is a FileX pointer in the thread control block.
|
||||
By default, the pointer is there for legacy/backwards compatibility.
|
||||
The pointer must also be there for applications using FileX.
|
||||
Define this to save space in the thread control block.
|
||||
*/
|
||||
|
||||
/*
|
||||
#define TX_NO_FILEX_POINTER
|
||||
*/
|
||||
|
||||
/* Determine if timer expirations (application timers, timeouts, and tx_thread_sleep calls
|
||||
should be processed within the a system timer thread or directly in the timer ISR.
|
||||
By default, the timer thread is used. When the following is defined, the timer expiration
|
||||
@@ -255,5 +290,17 @@
|
||||
#define TX_TIMER_ENABLE_PERFORMANCE_INFO
|
||||
*/
|
||||
|
||||
/* Override options for byte pool searches of multiple blocks. */
|
||||
|
||||
/*
|
||||
#define TX_BYTE_POOL_MULTIPLE_BLOCK_SEARCH 20
|
||||
*/
|
||||
|
||||
/* Override options for byte pool search delay to avoid thrashing. */
|
||||
|
||||
/*
|
||||
#define TX_BYTE_POOL_DELAY_VALUE 3
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_byte_pool_search PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.7 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -76,9 +76,12 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 06-02-2021 Scott Larson Improve possible free bytes */
|
||||
/* calculation, */
|
||||
/* resulting in version 6.1.7 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size)
|
||||
@@ -96,13 +99,16 @@ UINT first_free_block_found = TX_FALSE;
|
||||
TX_THREAD *thread_ptr;
|
||||
ALIGN_TYPE *free_ptr;
|
||||
UCHAR *work_ptr;
|
||||
ULONG total_theoretical_available;
|
||||
|
||||
|
||||
/* Disable interrupts. */
|
||||
TX_DISABLE
|
||||
|
||||
/* First, determine if there are enough bytes in the pool. */
|
||||
if (memory_size >= pool_ptr -> tx_byte_pool_available)
|
||||
/* Theoretical bytes available = free bytes + ((fragments-2) * overhead of each block) */
|
||||
total_theoretical_available = pool_ptr -> tx_byte_pool_available + ((pool_ptr -> tx_byte_pool_fragments - 2) * ((sizeof(UCHAR *)) + (sizeof(ALIGN_TYPE))));
|
||||
if (memory_size >= total_theoretical_available)
|
||||
{
|
||||
|
||||
/* Restore interrupts. */
|
||||
@@ -146,7 +152,6 @@ UCHAR *work_ptr;
|
||||
/* Determine if this is the first free block. */
|
||||
if (first_free_block_found == TX_FALSE)
|
||||
{
|
||||
|
||||
/* This is the first free block. */
|
||||
pool_ptr->tx_byte_pool_search = current_ptr;
|
||||
|
||||
@@ -207,14 +212,12 @@ UCHAR *work_ptr;
|
||||
/* See if the search pointer is affected. */
|
||||
if (pool_ptr -> tx_byte_pool_search == next_ptr)
|
||||
{
|
||||
|
||||
/* Yes, update the search pointer. */
|
||||
pool_ptr -> tx_byte_pool_search = current_ptr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
/* Neighbor is not free so we can skip over it! */
|
||||
next_block_link_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(next_ptr);
|
||||
current_ptr = *next_block_link_ptr;
|
||||
@@ -222,7 +225,6 @@ UCHAR *work_ptr;
|
||||
/* Decrement the examined block count to account for this one. */
|
||||
if (examine_blocks != ((UINT) 0))
|
||||
{
|
||||
|
||||
examine_blocks--;
|
||||
|
||||
#ifdef TX_BYTE_POOL_ENABLE_PERFORMANCE_INFO
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_event_flags_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.11 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -73,9 +73,12 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 04-25-2022 Scott Larson Modified comment(s), */
|
||||
/* handle 0 flags case, */
|
||||
/* resulting in version 6.1.11 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags,
|
||||
@@ -276,11 +279,12 @@ UINT interrupted_set_request;
|
||||
if (wait_option != TX_NO_WAIT)
|
||||
{
|
||||
|
||||
/* Determine if the preempt disable flag is non-zero. */
|
||||
if (_tx_thread_preempt_disable != ((UINT) 0))
|
||||
/* Determine if the preempt disable flag is non-zero OR the requested events is 0. */
|
||||
if ((_tx_thread_preempt_disable != ((UINT) 0)) || (requested_flags == (UINT) 0))
|
||||
{
|
||||
|
||||
/* Suspension is not allowed if the preempt disable flag is non-zero at this point, return error completion. */
|
||||
/* Suspension is not allowed if the preempt disable flag is non-zero at this point,
|
||||
or if requested_flags is 0, return error completion. */
|
||||
status = TX_NO_EVENTS;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_event_flags_set PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.11 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -72,9 +72,13 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 04-25-2022 William E. Lamie Modified comment(s), and */
|
||||
/* added corrected preemption */
|
||||
/* check logic, resulting in */
|
||||
/* version 6.1.11 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option)
|
||||
@@ -264,9 +268,6 @@ VOID (*events_set_notify)(struct TX_EVENT_FLAGS_GROUP_STRUCT *notify_
|
||||
/* Yes, resume the thread and apply any event flag
|
||||
clearing. */
|
||||
|
||||
/* Set the preempt check flag. */
|
||||
preempt_check = TX_TRUE;
|
||||
|
||||
/* Return the actual event flags that satisfied the request. */
|
||||
suspend_info_ptr = TX_VOID_TO_ULONG_POINTER_CONVERT(thread_ptr -> tx_thread_additional_suspend_info);
|
||||
*suspend_info_ptr = current_event_flags;
|
||||
@@ -336,6 +337,11 @@ VOID (*events_set_notify)(struct TX_EVENT_FLAGS_GROUP_STRUCT *notify_
|
||||
/* Disable preemption while we process the suspended list. */
|
||||
_tx_thread_preempt_disable++;
|
||||
|
||||
/* Since we have temporarily disabled preemption globally, set the preempt
|
||||
check flag to check for any preemption condition - including from
|
||||
unrelated ISR processing. */
|
||||
preempt_check = TX_TRUE;
|
||||
|
||||
/* Loop to examine all of the suspended threads. */
|
||||
do
|
||||
{
|
||||
@@ -419,9 +425,6 @@ VOID (*events_set_notify)(struct TX_EVENT_FLAGS_GROUP_STRUCT *notify_
|
||||
|
||||
/* Yes, this request can be handled now. */
|
||||
|
||||
/* Set the preempt check flag. */
|
||||
preempt_check = TX_TRUE;
|
||||
|
||||
/* Determine if the thread is still suspended on the event flag group. If not, a wait
|
||||
abort must have been done from an ISR. */
|
||||
if (thread_ptr -> tx_thread_state == TX_EVENT_FLAG)
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
#include "tx_thread.h"
|
||||
#include "tx_timer.h"
|
||||
|
||||
#if defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE)
|
||||
extern VOID _tx_execution_initialize(VOID);
|
||||
#endif
|
||||
|
||||
/* Define any port-specific scheduling data structures. */
|
||||
|
||||
@@ -46,7 +49,7 @@ TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_initialize_kernel_enter PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.11 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -84,9 +87,12 @@ TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 04-25-2022 Scott Larson Modified comment(s), */
|
||||
/* added EPK initialization, */
|
||||
/* resulting in version 6.1.11 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
VOID _tx_initialize_kernel_enter(VOID)
|
||||
@@ -138,6 +144,11 @@ VOID _tx_initialize_kernel_enter(VOID)
|
||||
/* Call any port specific pre-scheduler processing. */
|
||||
TX_PORT_SPECIFIC_PRE_SCHEDULER_INITIALIZATION
|
||||
|
||||
#if defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE)
|
||||
/* Initialize Execution Profile Kit. */
|
||||
_tx_execution_initialize();
|
||||
#endif
|
||||
|
||||
/* Enter the scheduling loop to start executing threads! */
|
||||
_tx_thread_schedule();
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_mutex_priority_change PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.6 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -70,14 +70,18 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 William E. Lamie Modified comment(s), and */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 William E. Lamie Modified comment(s), and */
|
||||
/* change thread state from */
|
||||
/* TX_SUSPENDED to */
|
||||
/* TX_PRIORITY_CHANGE before */
|
||||
/* calling */
|
||||
/* _tx_thread_system_suspend, */
|
||||
/* resulting in version 6.1 */
|
||||
/* 04-02-2021 Scott Larson Modified comments, fixed */
|
||||
/* mapping current thread's */
|
||||
/* priority rather than next, */
|
||||
/* resulting in version 6.1.6 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
VOID _tx_mutex_priority_change(TX_THREAD *thread_ptr, UINT new_priority)
|
||||
@@ -308,15 +312,15 @@ UINT map_index;
|
||||
#if TX_MAX_PRIORITIES > 32
|
||||
|
||||
/* Calculate the index into the bit map array. */
|
||||
map_index = (next_execute_ptr -> tx_thread_priority)/ ((UINT) 32);
|
||||
map_index = (thread_ptr -> tx_thread_priority)/ ((UINT) 32);
|
||||
|
||||
/* Set the active bit to remember that the preempt map has something set. */
|
||||
TX_DIV32_BIT_SET(next_execute_ptr -> tx_thread_priority, priority_bit)
|
||||
TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit)
|
||||
_tx_thread_preempted_map_active = _tx_thread_preempted_map_active | priority_bit;
|
||||
#endif
|
||||
|
||||
/* Remember that this thread was preempted by a thread above the thread's threshold. */
|
||||
TX_MOD32_BIT_SET(next_execute_ptr -> tx_thread_priority, priority_bit)
|
||||
TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit)
|
||||
_tx_thread_preempted_maps[MAP_INDEX] = _tx_thread_preempted_maps[MAP_INDEX] | priority_bit;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.8 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -79,11 +79,15 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 William E. Lamie Modified comment(s), and */
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 William E. Lamie Modified comment(s), and */
|
||||
/* changed stack calculations */
|
||||
/* to use ALIGN_TYPE integers, */
|
||||
/* resulting in version 6.1 */
|
||||
/* 06-02-2021 William E. Lamie Modified comment(s), and */
|
||||
/* supported TX_MISRA_ENABLE, */
|
||||
/* 08-02-2021 Scott Larson Removed unneeded cast, */
|
||||
/* resulting in version 6.1.8 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG id), ULONG entry_input,
|
||||
@@ -120,8 +124,12 @@ ALIGN_TYPE updated_stack_start;
|
||||
stack_size = ((stack_size/(sizeof(ULONG))) * (sizeof(ULONG))) - (sizeof(ULONG));
|
||||
|
||||
/* Ensure the starting stack address is evenly aligned. */
|
||||
#ifdef TX_MISRA_ENABLE
|
||||
new_stack_start = TX_POINTER_TO_ULONG_CONVERT(stack_start);
|
||||
#else
|
||||
new_stack_start = TX_POINTER_TO_ALIGN_TYPE_CONVERT(stack_start);
|
||||
updated_stack_start = ((((ULONG) new_stack_start) + ((sizeof(ULONG)) - ((ULONG) 1)) ) & (~((sizeof(ULONG)) - ((ULONG) 1))));
|
||||
#endif /* TX_MISRA_ENABLE */
|
||||
updated_stack_start = (((new_stack_start) + ((sizeof(ULONG)) - ((ULONG) 1)) ) & (~((sizeof(ULONG)) - ((ULONG) 1))));
|
||||
|
||||
/* Determine if the starting stack address is different. */
|
||||
if (new_stack_start != updated_stack_start)
|
||||
@@ -132,7 +140,11 @@ ALIGN_TYPE updated_stack_start;
|
||||
}
|
||||
|
||||
/* Update the starting stack pointer. */
|
||||
#ifdef TX_MISRA_ENABLE
|
||||
stack_start = TX_ULONG_TO_POINTER_CONVERT(updated_stack_start);
|
||||
#else
|
||||
stack_start = TX_ALIGN_TYPE_TO_POINTER_CONVERT(updated_stack_start);
|
||||
#endif /* TX_MISRA_ENABLE */
|
||||
#endif
|
||||
|
||||
/* Prepare the thread control block prior to placing it on the created
|
||||
|
||||
@@ -175,7 +175,7 @@ VOID (*_tx_thread_mutex_release)(TX_THREAD *thread_ptr);
|
||||
ULONG _tx_build_options;
|
||||
|
||||
|
||||
#ifdef TX_ENABLE_STACK_CHECKING
|
||||
#if defined(TX_ENABLE_STACK_CHECKING) || defined(TX_PORT_THREAD_STACK_ERROR_HANDLING)
|
||||
|
||||
/* Define the global function pointer for stack error handling. If a stack error is
|
||||
detected and the application has registered a stack error handler, it will be
|
||||
@@ -277,7 +277,7 @@ const CHAR _tx_thread_special_string[] =
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_initialize PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.9 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -310,6 +310,12 @@ const CHAR _tx_thread_special_string[] =
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 06-02-2021 Yuxin Zhou Modified comment(s), added */
|
||||
/* Execution Profile support, */
|
||||
/* resulting in version 6.1.7 */
|
||||
/* 10-15-2021 Yuxin Zhou Modified comment(s), improved */
|
||||
/* stack check error handling, */
|
||||
/* resulting in version 6.1.9 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
VOID _tx_thread_initialize(VOID)
|
||||
@@ -439,7 +445,7 @@ VOID _tx_thread_initialize(VOID)
|
||||
#ifdef TX_ENABLE_EVENT_TRACE
|
||||
| (((ULONG) 1) << 8)
|
||||
#endif
|
||||
#ifdef TX_ENABLE_EXECUTION_CHANGE_NOTIFY
|
||||
#if defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE)
|
||||
| (((ULONG) 1) << 7)
|
||||
#endif
|
||||
#if TX_PORT_SPECIFIC_BUILD_OPTIONS != 0
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/* Include necessary system files. */
|
||||
|
||||
#include "tx_api.h"
|
||||
#if defined(TX_MISRA_ENABLE) || defined(TX_ENABLE_STACK_CHECKING)
|
||||
#if defined(TX_MISRA_ENABLE) || defined(TX_ENABLE_STACK_CHECKING) || defined(TX_PORT_THREAD_STACK_ERROR_HANDLING)
|
||||
#include "tx_thread.h"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_stack_error_handler PORTABLE C */
|
||||
/* 6.1.1 */
|
||||
/* 6.1.9 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -72,6 +72,14 @@
|
||||
/* 10-16-2020 William E. Lamie Modified comment(s), */
|
||||
/* fixed link issue, */
|
||||
/* resulting in version 6.1.1 */
|
||||
/* 06-02-2021 William E. Lamie Modified comment(s), */
|
||||
/* fixed link issue, added */
|
||||
/* conditional compilation */
|
||||
/* for ARMv8-M (Cortex M23/33) */
|
||||
/* resulting in version 6.1.7 */
|
||||
/* 10-15-2021 Yuxin Zhou Modified comment(s), improved */
|
||||
/* stack check error handling, */
|
||||
/* resulting in version 6.1.9 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
VOID _tx_thread_stack_error_handler(TX_THREAD *thread_ptr)
|
||||
@@ -79,7 +87,7 @@ VOID _tx_thread_stack_error_handler(TX_THREAD *thread_ptr)
|
||||
|
||||
TX_INTERRUPT_SAVE_AREA
|
||||
|
||||
#ifdef TX_ENABLE_STACK_CHECKING
|
||||
#if defined(TX_ENABLE_STACK_CHECKING) || defined(TX_PORT_THREAD_STACK_ERROR_HANDLING)
|
||||
|
||||
/* Disable interrupts. */
|
||||
TX_DISABLE
|
||||
@@ -109,5 +117,4 @@ TX_INTERRUPT_SAVE_AREA
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif /* TX_MISRA_ENABLE */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "tx_api.h"
|
||||
#include "tx_thread.h"
|
||||
#ifdef TX_ENABLE_STACK_CHECKING
|
||||
#if defined(TX_ENABLE_STACK_CHECKING) || defined(TX_PORT_THREAD_STACK_ERROR_HANDLING)
|
||||
#include "tx_trace.h"
|
||||
#endif
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_stack_error_notify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.9 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -74,12 +74,19 @@
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 06-02-2021 Yuxin Zhou Modified comment(s), added */
|
||||
/* conditional compilation */
|
||||
/* for ARMv8-M (Cortex M23/33) */
|
||||
/* resulting in version 6.1.7 */
|
||||
/* 10-15-2021 Yuxin Zhou Modified comment(s), improved */
|
||||
/* stack check error handling, */
|
||||
/* resulting in version 6.1.9 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_stack_error_notify(VOID (*stack_error_handler)(TX_THREAD *thread_ptr))
|
||||
{
|
||||
|
||||
#ifndef TX_ENABLE_STACK_CHECKING
|
||||
#if !defined(TX_ENABLE_STACK_CHECKING) && !defined(TX_PORT_THREAD_STACK_ERROR_HANDLING)
|
||||
|
||||
UINT status;
|
||||
|
||||
@@ -100,6 +107,7 @@ UINT status;
|
||||
|
||||
/* Return completion status. */
|
||||
return(status);
|
||||
|
||||
#else
|
||||
|
||||
TX_INTERRUPT_SAVE_AREA
|
||||
@@ -124,4 +132,3 @@ TX_INTERRUPT_SAVE_AREA
|
||||
return(TX_SUCCESS);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -152,6 +152,7 @@ ULONG suspension_sequence;
|
||||
/* Call any cleanup routines. */
|
||||
if (suspend_cleanup != TX_NULL)
|
||||
{
|
||||
|
||||
/* Yes, there is a function to call. */
|
||||
(suspend_cleanup)(thread_ptr, suspension_sequence);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_time_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.3 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* William E. Lamie, Microsoft Corporation */
|
||||
@@ -68,6 +68,8 @@
|
||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||
/* resulting in version 6.1 */
|
||||
/* 12-31-2020 Andres Mlinar Modified comment(s), */
|
||||
/* resulting in version 6.1.3 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
ULONG _tx_time_get(VOID)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
||||
/* */
|
||||
/* txm_module.h PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -40,7 +40,13 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 12-31-2020 Scott Larson Modified comment(s), added */
|
||||
/* port-specific extension, */
|
||||
/* resulting in version 6.1.3 */
|
||||
/* 01-31-2022 Scott Larson Modified comment(s), added */
|
||||
/* callback thread prototype, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
@@ -329,6 +335,8 @@ extern "C" {
|
||||
#define TXM_MODULE_OBJECT_ALLOCATE_CALL 95
|
||||
#define TXM_MODULE_OBJECT_DEALLOCATE_CALL 96
|
||||
|
||||
#define TXM_MODULE_PORT_EXTENSION_API_ID_START 500
|
||||
#define TXM_MODULE_PORT_EXTENSION_API_ID_END 999
|
||||
|
||||
/* Determine the API call IDs for other components. */
|
||||
|
||||
@@ -536,6 +544,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
|
||||
UINT _txm_module_thread_system_suspend(TX_THREAD *thread_ptr);
|
||||
|
||||
UINT _txm_module_application_request(ULONG request, ALIGN_TYPE param_1, ALIGN_TYPE param_2, ALIGN_TYPE param_3);
|
||||
VOID _txm_module_callback_request_thread_entry(ULONG id);
|
||||
UINT _txm_module_object_allocate(VOID **object_ptr, ULONG object_size);
|
||||
UINT _txm_module_object_deallocate(VOID *object_ptr);
|
||||
UINT _txm_module_object_pointer_get(UINT object_type, CHAR *name, VOID **object_ptr);
|
||||
@@ -571,6 +580,7 @@ VOID _txm_module_usbx_duo_callback_request(TXM_MODULE_CALLBACK_MESSAGE *callbac
|
||||
resident portion of the application. */
|
||||
|
||||
#define txm_module_manager_initialize _txm_module_manager_initialize
|
||||
#define txm_module_manager_absolute_load _txm_module_manager_absolute_load
|
||||
#define txm_module_manager_in_place_load _txm_module_manager_in_place_load
|
||||
#define txm_module_manager_file_load _txm_module_manager_file_load
|
||||
#define txm_module_manager_memory_load _txm_module_manager_memory_load
|
||||
@@ -607,6 +617,7 @@ UINT _txm_module_manager_application_request(ULONG request, ALIGN_TYPE param_1,
|
||||
UINT _txm_module_manager_file_load(TXM_MODULE_INSTANCE *module_instance, CHAR *module_name, FX_MEDIA *media_ptr, CHAR *file_name);
|
||||
#endif
|
||||
UINT _txm_module_manager_initialize(VOID *module_memory_start, ULONG module_memory_size);
|
||||
UINT _txm_module_manager_absolute_load(TXM_MODULE_INSTANCE *module_instance, CHAR *name, VOID *module_location);
|
||||
UINT _txm_module_manager_in_place_load(TXM_MODULE_INSTANCE *module_instance, CHAR *name, VOID *module_location);
|
||||
UINT _txm_module_manager_internal_load(TXM_MODULE_INSTANCE *module_instance, CHAR *name, VOID *module_location,
|
||||
ULONG code_size, VOID *code_allocation_ptr, ULONG code_allocation_size);
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* Copyright (c) Microsoft Corporation. All rights reserved. */
|
||||
/* */
|
||||
/* This software is licensed under the Microsoft Software License */
|
||||
/* Terms for Microsoft Azure RTOS. Full text of the license can be */
|
||||
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */
|
||||
/* and in the root directory of this software. */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
/**************************************************************************/
|
||||
/** */
|
||||
/** ThreadX Component */
|
||||
/** */
|
||||
/** User Specific */
|
||||
/** */
|
||||
/**************************************************************************/
|
||||
/**************************************************************************/
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
||||
/* */
|
||||
/* txm_module_user.h PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
/* */
|
||||
/* DESCRIPTION */
|
||||
/* */
|
||||
/* This file contains user defines for configuring the Module Manager */
|
||||
/* in specific ways. This file will have an effect only if the Module */
|
||||
/* Manager library is built with TXM_MODULE_INCLUDE_USER_DEFINE_FILE */
|
||||
/* defined. Note that all the defines in this file may also be made on */
|
||||
/* the command line when building Modules library and application */
|
||||
/* objects. */
|
||||
/* */
|
||||
/* RELEASE HISTORY */
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef TXM_MODULE_USER_H
|
||||
#define TXM_MODULE_USER_H
|
||||
|
||||
/* Defines the kernel stack size for a module thread. The default is 512, which is
|
||||
sufficient for applications only using ThreadX, however, if other libraries are
|
||||
used i.e. FileX, NetX, etc., then this value will most likely need to be increased. */
|
||||
|
||||
/* #define TXM_MODULE_KERNEL_STACK_SIZE 2048 */
|
||||
|
||||
#endif
|
||||
165
common_modules/inc/txm_module_user_sample.h
Normal file
165
common_modules/inc/txm_module_user_sample.h
Normal file
@@ -0,0 +1,165 @@
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* Copyright (c) Microsoft Corporation. All rights reserved. */
|
||||
/* */
|
||||
/* This software is licensed under the Microsoft Software License */
|
||||
/* Terms for Microsoft Azure RTOS. Full text of the license can be */
|
||||
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */
|
||||
/* and in the root directory of this software. */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
/**************************************************************************/
|
||||
/** */
|
||||
/** ThreadX Component */
|
||||
/** */
|
||||
/** User Specific */
|
||||
/** */
|
||||
/**************************************************************************/
|
||||
/**************************************************************************/
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
||||
/* */
|
||||
/* txm_module_user.h PORTABLE C */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
/* */
|
||||
/* DESCRIPTION */
|
||||
/* */
|
||||
/* This file contains user defines for configuring the Module Manager */
|
||||
/* in specific ways. This file will have an effect only if the Module */
|
||||
/* Manager library is built with TXM_MODULE_INCLUDE_USER_DEFINE_FILE */
|
||||
/* defined. Note that all the defines in this file may also be made on */
|
||||
/* the command line when building Modules library and application */
|
||||
/* objects. */
|
||||
/* */
|
||||
/* RELEASE HISTORY */
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED defines, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef TXM_MODULE_USER_H
|
||||
#define TXM_MODULE_USER_H
|
||||
|
||||
/* Defines the kernel stack size for a module thread. The default is 512, which is
|
||||
sufficient for applications only using ThreadX, however, if other libraries are
|
||||
used i.e. FileX, NetX, etc., then this value will most likely need to be increased. */
|
||||
|
||||
/* #define TXM_MODULE_KERNEL_STACK_SIZE 2048 */
|
||||
|
||||
|
||||
/* Uncomment any of these defines to prevent modules from being able to make that system call. */
|
||||
|
||||
/* #define TXM_BLOCK_ALLOCATE_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_POOL_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_POOL_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_POOL_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_POOL_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_POOL_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_POOL_PRIORITIZE_CALL_NOT_USED */
|
||||
/* #define TXM_BLOCK_RELEASE_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_ALLOCATE_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_POOL_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_POOL_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_POOL_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_POOL_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_POOL_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_POOL_PRIORITIZE_CALL_NOT_USED */
|
||||
/* #define TXM_BYTE_RELEASE_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_GET_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_SET_CALL_NOT_USED */
|
||||
/* #define TXM_EVENT_FLAGS_SET_NOTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_GET_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_PRIORITIZE_CALL_NOT_USED */
|
||||
/* #define TXM_MUTEX_PUT_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_FLUSH_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_FRONT_SEND_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_PRIORITIZE_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_RECEIVE_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_SEND_CALL_NOT_USED */
|
||||
/* #define TXM_QUEUE_SEND_NOTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_CEILING_PUT_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_GET_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_PRIORITIZE_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_PUT_CALL_NOT_USED */
|
||||
/* #define TXM_SEMAPHORE_PUT_NOTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_ENTRY_EXIT_NOTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_IDENTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_INTERRUPT_CONTROL_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_PREEMPTION_CHANGE_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_PRIORITY_CHANGE_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_RELINQUISH_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_RESET_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_RESUME_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_SLEEP_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_STACK_ERROR_NOTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_SUSPEND_CALL_NOT_USED */
|
||||
/* thread system suspend is needed in _txm_module_thread_shell_entry */
|
||||
/* #define TXM_THREAD_TERMINATE_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_TIME_SLICE_CHANGE_CALL_NOT_USED */
|
||||
/* #define TXM_THREAD_WAIT_ABORT_CALL_NOT_USED */
|
||||
/* #define TXM_TIME_GET_CALL_NOT_USED */
|
||||
/* #define TXM_TIME_SET_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_ACTIVATE_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_CHANGE_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_CREATE_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_DEACTIVATE_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_DELETE_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_PERFORMANCE_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_TIMER_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_BUFFER_FULL_NOTIFY_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_DISABLE_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_ENABLE_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_EVENT_FILTER_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_EVENT_UNFILTER_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_INTERRUPT_CONTROL_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_ISR_ENTER_INSERT_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_ISR_EXIT_INSERT_CALL_NOT_USED */
|
||||
/* #define TXM_TRACE_USER_EVENT_INSERT_CALL_NOT_USED */
|
||||
/* #define TXM_MODULE_APPLICATION_REQUEST_CALL_NOT_USED */
|
||||
/* #define TXM_MODULE_OBJECT_ALLOCATE_CALL_NOT_USED */
|
||||
/* #define TXM_MODULE_OBJECT_DEALLOCATE_CALL_NOT_USED */
|
||||
/* #define TXM_MODULE_OBJECT_POINTER_GET_CALL_NOT_USED */
|
||||
/* #define TXM_MODULE_OBJECT_POINTER_GET_EXTENDED_CALL_NOT_USED */
|
||||
|
||||
|
||||
#endif
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_ALLOCATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_block_allocate PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -64,7 +64,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option)
|
||||
@@ -78,3 +81,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_POOL_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_block_pool_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -67,7 +67,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_block_pool_create(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size)
|
||||
@@ -87,3 +90,4 @@ ALIGN_TYPE extra_parameters[4];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_POOL_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_block_pool_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_block_pool_delete(TX_BLOCK_POOL *pool_ptr)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_POOL_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_block_pool_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -67,7 +67,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks, ULONG *total_blocks, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BLOCK_POOL **next_pool)
|
||||
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_POOL_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_block_pool_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -66,7 +66,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_block_pool_performance_info_get(TX_BLOCK_POOL *pool_ptr, ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -85,3 +88,4 @@ ALIGN_TYPE extra_parameters[3];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_POOL_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_block_pool_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -64,7 +64,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_block_pool_performance_system_info_get(ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -82,3 +85,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_POOL_PRIORITIZE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_block_pool_prioritize PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -57,7 +57,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_block_pool_prioritize(TX_BLOCK_POOL *pool_ptr)
|
||||
@@ -71,3 +74,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BLOCK_RELEASE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_block_release PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -58,7 +58,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_block_release(VOID *block_ptr)
|
||||
@@ -72,3 +75,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_ALLOCATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_byte_allocate PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -66,7 +66,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_option)
|
||||
@@ -84,3 +87,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_POOL_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_byte_pool_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -66,7 +66,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_byte_pool_create(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size)
|
||||
@@ -85,3 +88,4 @@ ALIGN_TYPE extra_parameters[3];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_POOL_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_byte_pool_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_byte_pool_delete(TX_BYTE_POOL *pool_ptr)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_POOL_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_byte_pool_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -67,7 +67,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes, ULONG *fragments, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BYTE_POOL **next_pool)
|
||||
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_POOL_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_byte_pool_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -74,7 +74,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_byte_pool_performance_info_get(TX_BYTE_POOL *pool_ptr, ULONG *allocates, ULONG *releases, ULONG *fragments_searched, ULONG *merges, ULONG *splits, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -96,3 +99,4 @@ ALIGN_TYPE extra_parameters[6];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_POOL_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_byte_pool_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -72,7 +72,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_byte_pool_performance_system_info_get(ULONG *allocates, ULONG *releases, ULONG *fragments_searched, ULONG *merges, ULONG *splits, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -93,3 +96,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_POOL_PRIORITIZE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_byte_pool_prioritize PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -57,7 +57,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_byte_pool_prioritize(TX_BYTE_POOL *pool_ptr)
|
||||
@@ -71,3 +74,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_BYTE_RELEASE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_byte_release PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -59,7 +59,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_byte_release(VOID *memory_ptr)
|
||||
@@ -73,3 +76,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_event_flags_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -63,7 +63,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_block_size)
|
||||
@@ -77,3 +80,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_event_flags_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_event_flags_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -68,7 +68,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, UINT get_option, ULONG *actual_flags_ptr, ULONG wait_option)
|
||||
@@ -87,3 +90,4 @@ ALIGN_TYPE extra_parameters[3];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_event_flags_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -68,7 +68,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, TX_THREAD **first_suspended, ULONG *suspended_count, TX_EVENT_FLAGS_GROUP **next_group)
|
||||
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[4];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_event_flags_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -67,7 +67,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_event_flags_performance_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -86,3 +89,4 @@ ALIGN_TYPE extra_parameters[3];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_event_flags_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -64,7 +64,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_event_flags_performance_system_info_get(ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -82,3 +85,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_SET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_event_flags_set PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -63,7 +63,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option)
|
||||
@@ -77,3 +80,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_EVENT_FLAGS_SET_NOTIFY_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_event_flags_set_notify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVENT_FLAGS_GROUP *))
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MODULE_APPLICATION_REQUEST_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* txm_module_application_request PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -61,7 +61,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT txm_module_application_request(ULONG request, ALIGN_TYPE param_1, ALIGN_TYPE param_2, ALIGN_TYPE param_3)
|
||||
@@ -75,4 +78,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -41,13 +41,12 @@
|
||||
|
||||
extern TXM_MODULE_THREAD_ENTRY_INFO *_txm_module_entry_info;
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txm_module_callback_request_thread_entry PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -79,10 +78,13 @@ extern TXM_MODULE_THREAD_ENTRY_INFO *_txm_module_entry_info;
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
VOID _txm_module_callback_request_thread_entry(ULONG id)
|
||||
VOID _txm_module_callback_request_thread_entry(ULONG id)
|
||||
{
|
||||
|
||||
TX_QUEUE *request_queue;
|
||||
@@ -95,6 +97,8 @@ VOID (*queue_send_notify)(TX_QUEUE *);
|
||||
VOID (*thread_entry_exit_notify)(TX_THREAD *, UINT);
|
||||
UINT status;
|
||||
|
||||
/* Disable warning of parameter not used. */
|
||||
TX_PARAMETER_NOT_USED(id);
|
||||
|
||||
/* Pickup pointer to the request queue. */
|
||||
request_queue = _txm_module_entry_info -> txm_module_thread_entry_info_callback_request_queue;
|
||||
@@ -240,5 +244,3 @@ UINT status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MODULE_OBJECT_ALLOCATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txm_module_manager_object_allocate PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -63,7 +63,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txm_module_object_allocate(VOID **object_ptr, ULONG object_size)
|
||||
@@ -77,3 +80,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MODULE_OBJECT_DEALLOCATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txm_module_manager_object_deallocate PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -57,7 +57,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txm_module_object_deallocate(VOID *object_ptr)
|
||||
@@ -71,3 +74,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MODULE_OBJECT_POINTER_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txm_module_manager_object_pointer_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -73,7 +73,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txm_module_object_pointer_get(UINT object_type, CHAR *name, VOID **object_ptr)
|
||||
@@ -87,3 +90,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MODULE_OBJECT_POINTER_GET_EXTENDED_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txm_module_manager_object_pointer_get_extended PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -76,7 +76,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txm_module_object_pointer_get_extended(UINT object_type, CHAR *name, UINT name_length, VOID **object_ptr)
|
||||
@@ -94,3 +97,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_SYSTEM_SUSPEND_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_system_suspend PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
@@ -65,7 +65,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txm_module_thread_system_suspend(TX_THREAD *thread_ptr)
|
||||
@@ -79,3 +82,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_mutex_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -64,7 +64,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_mutex_create(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size)
|
||||
@@ -82,3 +85,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_mutex_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_mutex_delete(TX_MUTEX *mutex_ptr)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_mutex_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_mutex_get(TX_MUTEX *mutex_ptr, ULONG wait_option)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_mutex_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -68,7 +68,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_mutex_info_get(TX_MUTEX *mutex_ptr, CHAR **name, ULONG *count, TX_THREAD **owner, TX_THREAD **first_suspended, ULONG *suspended_count, TX_MUTEX **next_mutex)
|
||||
@@ -89,3 +92,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_mutex_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -70,7 +70,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_mutex_performance_info_get(TX_MUTEX *mutex_ptr, ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts, ULONG *inversions, ULONG *inheritances)
|
||||
@@ -91,3 +94,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_mutex_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -68,7 +68,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_mutex_performance_system_info_get(ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts, ULONG *inversions, ULONG *inheritances)
|
||||
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[4];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_PRIORITIZE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_mutex_prioritize PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -57,7 +57,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_mutex_prioritize(TX_MUTEX *mutex_ptr)
|
||||
@@ -71,3 +74,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_MUTEX_PUT_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_mutex_put PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -58,7 +58,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_mutex_put(TX_MUTEX *mutex_ptr)
|
||||
@@ -72,3 +75,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -65,7 +65,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size, VOID *queue_start, ULONG queue_size, UINT queue_control_block_size)
|
||||
@@ -85,3 +88,4 @@ ALIGN_TYPE extra_parameters[4];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -59,7 +59,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_delete(TX_QUEUE *queue_ptr)
|
||||
@@ -73,3 +76,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_FLUSH_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_flush PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -59,7 +59,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_flush(TX_QUEUE *queue_ptr)
|
||||
@@ -73,3 +76,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_FRONT_SEND_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_front_send PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -62,7 +62,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_front_send(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option)
|
||||
@@ -76,3 +79,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -67,7 +67,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_info_get(TX_QUEUE *queue_ptr, CHAR **name, ULONG *enqueued, ULONG *available_storage, TX_THREAD **first_suspended, ULONG *suspended_count, TX_QUEUE **next_queue)
|
||||
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_queue_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -68,7 +68,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_queue_performance_info_get(TX_QUEUE *queue_ptr, ULONG *messages_sent, ULONG *messages_received, ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts)
|
||||
@@ -89,3 +92,4 @@ ALIGN_TYPE extra_parameters[5];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_queue_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -68,7 +68,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_queue_performance_system_info_get(ULONG *messages_sent, ULONG *messages_received, ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts)
|
||||
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[4];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_PRIORITIZE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_prioritize PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -57,7 +57,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_prioritize(TX_QUEUE *queue_ptr)
|
||||
@@ -71,3 +74,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_RECEIVE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_receive PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -64,7 +64,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_receive(TX_QUEUE *queue_ptr, VOID *destination_ptr, ULONG wait_option)
|
||||
@@ -78,3 +81,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_SEND_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_send PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -62,7 +62,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_send(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option)
|
||||
@@ -76,3 +79,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_QUEUE_SEND_NOTIFY_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_queue_send_notify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_queue_send_notify(TX_QUEUE *queue_ptr, VOID (*queue_send_notify)(TX_QUEUE *notify_queue_ptr))
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_CEILING_PUT_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_ceiling_put PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -61,7 +61,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling)
|
||||
@@ -75,3 +78,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -63,7 +63,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size)
|
||||
@@ -81,3 +84,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_delete(TX_SEMAPHORE *semaphore_ptr)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -67,7 +67,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, TX_THREAD **first_suspended, ULONG *suspended_count, TX_SEMAPHORE **next_semaphore)
|
||||
@@ -87,3 +90,4 @@ ALIGN_TYPE extra_parameters[4];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_semaphore_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -66,7 +66,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -85,3 +88,4 @@ ALIGN_TYPE extra_parameters[3];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_semaphore_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -64,7 +64,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_semaphore_performance_system_info_get(ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts)
|
||||
@@ -82,3 +85,4 @@ ALIGN_TYPE extra_parameters[2];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_PRIORITIZE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_semaphore_prioritize PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -57,7 +57,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr)
|
||||
@@ -71,3 +74,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_PUT_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_put PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -58,7 +58,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr)
|
||||
@@ -72,3 +75,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_SEMAPHORE_PUT_NOTIFY_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_semaphore_put_notify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPHORE *notify_semaphore_ptr))
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_CREATE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_create PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -73,7 +73,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG entry_input), ULONG entry_input, VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, ULONG time_slice, UINT auto_start, UINT thread_control_block_size)
|
||||
@@ -98,3 +101,4 @@ ALIGN_TYPE extra_parameters[9];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_DELETE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_delete PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -59,7 +59,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_delete(TX_THREAD *thread_ptr)
|
||||
@@ -73,3 +76,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_ENTRY_EXIT_NOTIFY_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_entry_exit_notify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_entry_exit_notify(TX_THREAD *thread_ptr, VOID (*thread_entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type))
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_IDENTIFY_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_identify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
TX_THREAD *_tx_thread_identify(VOID)
|
||||
@@ -74,3 +77,4 @@ TX_THREAD *return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -70,7 +70,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_info_get(TX_THREAD *thread_ptr, CHAR **name, UINT *state, ULONG *run_count, UINT *priority, UINT *preemption_threshold, ULONG *time_slice, TX_THREAD **next_thread, TX_THREAD **next_suspended_thread)
|
||||
@@ -93,3 +96,4 @@ ALIGN_TYPE extra_parameters[7];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_INTERRUPT_CONTROL_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_interrupt_control PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -60,7 +60,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_interrupt_control(UINT new_posture)
|
||||
@@ -74,3 +77,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_PERFORMANCE_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_performance_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -83,7 +83,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_performance_info_get(TX_THREAD *thread_ptr, ULONG *resumptions, ULONG *suspensions, ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions, ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts, TX_THREAD **last_preempted_by)
|
||||
@@ -108,3 +111,4 @@ ALIGN_TYPE extra_parameters[9];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_PERFORMANCE_SYSTEM_INFO_GET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_performance_system_info_get PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -83,7 +83,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_performance_system_info_get(ULONG *resumptions, ULONG *suspensions, ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions, ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts, ULONG *non_idle_returns, ULONG *idle_returns)
|
||||
@@ -108,3 +111,4 @@ ALIGN_TYPE extra_parameters[9];
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_PREEMPTION_CHANGE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_preemption_change PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -63,7 +63,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold)
|
||||
@@ -77,3 +80,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_PRIORITY_CHANGE_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_priority_change PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -63,7 +63,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority)
|
||||
@@ -77,3 +80,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_RELINQUISH_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_relinquish PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -58,7 +58,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
VOID _txe_thread_relinquish(VOID)
|
||||
@@ -68,3 +71,4 @@ VOID _txe_thread_relinquish(VOID)
|
||||
/* Call module manager dispatcher. */
|
||||
(_txm_module_kernel_call_dispatcher)(TXM_THREAD_RELINQUISH_CALL, 0, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_RESET_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_reset PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -59,7 +59,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_reset(TX_THREAD *thread_ptr)
|
||||
@@ -73,3 +76,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_RESUME_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _txe_thread_resume PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -58,7 +58,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _txe_thread_resume(TX_THREAD *thread_ptr)
|
||||
@@ -72,3 +75,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_SLEEP_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_sleep PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -58,7 +58,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_sleep(ULONG timer_ticks)
|
||||
@@ -72,3 +75,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
#define TXM_MODULE
|
||||
#include "txm_module.h"
|
||||
|
||||
#ifndef TXM_THREAD_STACK_ERROR_NOTIFY_CALL_NOT_USED
|
||||
/**************************************************************************/
|
||||
/* */
|
||||
/* FUNCTION RELEASE */
|
||||
/* */
|
||||
/* _tx_thread_stack_error_notify PORTABLE C */
|
||||
/* 6.1 */
|
||||
/* 6.1.10 */
|
||||
/* AUTHOR */
|
||||
/* */
|
||||
/* Scott Larson, Microsoft Corporation */
|
||||
@@ -62,7 +62,10 @@
|
||||
/* */
|
||||
/* DATE NAME DESCRIPTION */
|
||||
/* */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||
/* 01-31-2022 Scott Larson Modified comments and added */
|
||||
/* CALL_NOT_USED option, */
|
||||
/* resulting in version 6.1.10 */
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
UINT _tx_thread_stack_error_notify(VOID (*stack_error_handler)(TX_THREAD *thread_ptr))
|
||||
@@ -76,3 +79,4 @@ UINT return_value;
|
||||
/* Return value to the caller. */
|
||||
return(return_value);
|
||||
}
|
||||
#endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user