Changeset 754f78fa in rtems


Ignore:
Timestamp:
Jan 28, 2020, 12:44:14 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
e7a7e6c
Parents:
26443da
git-author:
Sebastian Huber <sebastian.huber@…> (01/28/20 12:44:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/28/20 14:09:58)
Message:

libtest: Fix T_check_task_context()

Fix T_check_task_context() in RTEMS_SMP with RTEMS_DEBUG configurations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libtest/t-test-rtems-context.c

    r26443da r754f78fa  
    4141        uint32_t v;
    4242
    43         v = _Thread_Dispatch_get_disable_level();
     43        v = _Per_CPU_Get_snapshot()->thread_dispatch_disable_level;
    4444        T_check_true(v == 0, NULL,
    4545            "Wrong thread dispatch disabled level (%" PRIu32 ")", v);
    4646
    47         v = _ISR_Nest_level;
     47        v = _Per_CPU_Get_snapshot()->isr_nest_level;
    4848        T_check_true(v == 0, NULL,
    4949            "Wrong ISR nest level (%" PRIu32 ")", v);
Note: See TracChangeset for help on using the changeset viewer.