Changeset 4d77f725 in rtems


Ignore:
Timestamp:
08/01/22 07:14:07 (8 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
071640d
Parents:
1c6ac88
git-author:
Sebastian Huber <sebastian.huber@…> (08/01/22 07:14:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/01/22 07:15:36)
Message:

sp54: Fix test case

Since commit 6a6580331df3e09516d50f37d4dd5fd57825c08a, the local table is
zero-initialized. Use an initial object control block instead.

Update #4678.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp54/init.c

    r1c6ac88 r4d77f725  
    8989  rtems_test_assert( *p == 0xcf );
    9090
    91   p = (unsigned char *) _Thread_Information.Objects.local_table;
     91  p = (unsigned char *) _Thread_Information.Objects.initial_objects;
    9292  rtems_test_assert( *p == 0xcf );
    9393}
     
    107107  rtems_test_assert( *p == 0 );
    108108
    109   p = (unsigned char *) _Thread_Information.Objects.local_table;
     109  p = (unsigned char *) _Thread_Information.Objects.initial_objects;
    110110  rtems_test_assert( *p == 0 );
    111111}
Note: See TracChangeset for help on using the changeset viewer.