RTEMS 6.1-rc1
Files | Data Structures | Macros | Functions | Variables

Tests the basedefs macros of the Classic API. More...

Files

file  tc-basedefs-pendant.c
 Helper file to verify the requirements towards the basedefs.
 
file  tc-basedefs-pendant.h
 Helper file to verify the requirements towards the basedefs.
 
file  tc-basedefs.c
 

Data Structures

struct  aligned_member_struct
 

Macros

#define WHITE_SPACE_STRING_MAX_LENGTH   80
 
#define abccat   concat
 
#define abc   ABC
 
#define CON   con
 
#define CAT   cat
 
#define defcat   concat
 
#define GLOBAL_SYMBOL_VALULE(_hex)   0x ## _hex
 
#define EXPAND   expand
 
#define PREDICT_FALSE   1 -
 
#define SECTION_NAME   ".rtemsroset.test"
 
#define STATIC_ASSERT_COND   0 +
 
#define STRING_PREFIX   str
 
#define SYMBOL_NAME   global_object
 
#define _TO_STR2(_text)   #_text
 
#define _TO_STR(_text)   _TO_STR2( _text )
 

Functions

 __asm__ ("\n\t.set " RTEMS_XSTRING(RTEMS_SYMBOL_NAME(address_of_global_object)) ", " RTEMS_XSTRING(RTEMS_SYMBOL_NAME(SYMBOL_NAME)) "\n")
 
 RTEMS_DEFINE_GLOBAL_SYMBOL (GLOBAL_SYMBOL, RTEMS_SYMBOL_NAME(global_symbol_base)+GLOBAL_SYMBOL_VALULE(abc))
 
 RTEMS_DECLARE_GLOBAL_SYMBOL (global_symbol_2)
 
 RTEMS_DEFINE_GLOBAL_SYMBOL (global_symbol_2, 0x123)
 
RTEMS_INLINE_ROUTINE int inline_routine_func (int arg)
 
 RTEMS_PRINTFLIKE (2, 3)
 
 RTEMS_SECTION (".rtemsrwset.test")
 
int basedefs_weak_alias_0_func (int i) RTEMS_WEAK_ALIAS(ori_func)
 
int basedefs_weak_alias_1_func (int i) RTEMS_WEAK_ALIAS(ori_func)
 
RTEMS_WEAK int basedefs_weak_0_func (void)
 
RTEMS_WEAK int basedefs_weak_1_func (void)
 
 T_TEST_CASE (RtemsBasedefsValBasedefs)
 

Variables

int global_object
 
int address_of_global_object
 
RTEMS_WEAK const volatile int basedefs_weak_0_var = 60
 
RTEMS_WEAK const volatile int basedefs_weak_1_var = 61
 

Detailed Description

Tests the basedefs macros of the Classic API.

This test case performs the following actions: