summaryrefslogtreecommitdiff
path: root/test/freertos/fixtures/tx_user.h
blob: 834e711e087418afb292488b532c028de4b6e5ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/***************************************************************************
 * Copyright (C) 2026 Eclipse ThreadX contributors
 *
 * This program and the accompanying materials are made available under the
 * terms of the MIT License which is available at
 * https://opensource.org/licenses/MIT.
 *
 * AI Disclosure: This file was largely AI-generated by Claude Code (Opus 5).
 * The AI-generated portions may be considered public domain (CC0-1.0)
 * and not subject to the project's licence. The human contributor has
 * reviewed and verified that the code is correct.
 *
 * SPDX-License-Identifier: MIT and CC0-1.0
 **************************************************************************/

/**************************************************************************/
/**                                                                       */
/** ThreadX Component                                                     */
/**                                                                       */
/**   FreeRTOS compatibility layer regression test ThreadX settings       */
/**                                                                       */
/**************************************************************************/

/* Every other ThreadX setting is left at its default; only the extension the
   compatibility layer requires is defined here.  */

#ifndef TX_USER_H
#define TX_USER_H

/* The layer stores a back pointer to its own task structure in each thread
   control block, as documented in the layer's readme.md. Without this the
   layer does not compile.  */
#define TX_THREAD_USER_EXTENSION VOID *txfr_thread_ptr;

#endif /* #ifndef TX_USER_H */