From 4d77f725ca6517545397dc69152978d3c99218ae Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 1 Aug 2022 09:14:07 +0200 Subject: sp54: Fix test case Since commit 6a6580331df3e09516d50f37d4dd5fd57825c08a, the local table is zero-initialized. Use an initial object control block instead. Update #4678. --- testsuites/sptests/sp54/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp54/init.c') diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c index 9ec98e19e0..172eb2b1b0 100644 --- a/testsuites/sptests/sp54/init.c +++ b/testsuites/sptests/sp54/init.c @@ -88,7 +88,7 @@ static void check_dirty_memory( void ) rtems_test_assert( p != NULL ); rtems_test_assert( *p == 0xcf ); - p = (unsigned char *) _Thread_Information.Objects.local_table; + p = (unsigned char *) _Thread_Information.Objects.initial_objects; rtems_test_assert( *p == 0xcf ); } @@ -106,7 +106,7 @@ static void check_zero_workspace_automatically( void ) rtems_test_assert( p != NULL ); rtems_test_assert( *p == 0 ); - p = (unsigned char *) _Thread_Information.Objects.local_table; + p = (unsigned char *) _Thread_Information.Objects.initial_objects; rtems_test_assert( *p == 0 ); } -- cgit v1.2.3