summaryrefslogtreecommitdiff
path: root/test/regression/ux_test_standalone_references.c
blob: 6cc98d7384c07b12143f8e0b5d1ff45386412897 (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
36
/***************************************************************************/
/* Copyright (c) 2024 Microsoft Corporation                                */
/* 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.                                    */
/*                                                                         */
/* SPDX-License-Identifier: MIT                                            */
/***************************************************************************/


/* Pure UX configurations, isolate other headers configurations.  */
#include "ux_api.h"

#if defined(UX_HOST_STANDALONE) && !defined(_ux_utility_time_get)
extern ULONG _tx_time_get(VOID);
ULONG _ux_utility_time_get(VOID)
{
    return(_tx_time_get());
}
#endif
#if defined(UX_STANDALONE) && !defined(_ux_utility_interrupt_disable)
extern ALIGN_TYPE _tx_thread_interrupt_disable(VOID);
ALIGN_TYPE _ux_utility_interrupt_disable(VOID)
{
    return _tx_thread_interrupt_disable();
}
#endif
#if defined(UX_STANDALONE) && !defined(_ux_utility_interrupt_restore)
extern VOID _tx_thread_interrupt_restore(ALIGN_TYPE flags);
VOID _ux_utility_interrupt_restore(ALIGN_TYPE flags)
{
    _tx_thread_interrupt_restore(flags);
}
#endif