RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros | Functions | Variables

Helper file to verify the requirements towards the basedefs. More...

#include "tc-basedefs-pendant.h"

Macros

#define __USER_LABEL_PREFIX__   SyMbOl_
 
#define SyMbOl_symbol_id   prefix_symbol_id
 
#define SYMBOL_NAME   symbol_name
 

Functions

uintptr_t basedefs_get_global_symbol (void)
 
int basedefs_use_prefixed_symbol_name (void)
 
int basedefs_use_prefixed_upper_symbol_name (void)
 
int basedefs_use_prefixed_symbol_id (void)
 
int basedefs_weak_alias_1_func (int i)
 
int basedefs_weak_1_func (void)
 
void * basedefs_alloc_align_func (size_t size, void **p, size_t alignment)
 
void * basedefs_alloc_size_func (size_t size)
 
void * basedefs_alloc_size_2_func (size_t size0, size_t size1)
 
void basedefs_free (void *ptr)
 

Variables

const volatile int basedefs_weak_1_var = 62
 

Detailed Description

Helper file to verify the requirements towards the basedefs.

The specification items in (rtems-central/)spec/rtems/basedefs/req/[*] represent requirements towards the basedefs in (rtems/)cpukit/include/rtems/score/basedefs.h. There are automated verification tests generated from (rtems-central/)spec/rtems/basedefs/val/[*] and placed in (rtems/)testsuites/validation/tc-basedefs-0.c.

Yet, not every test can be placed in the same compilation unit (tc-basedefs-0.c). Hence, the code which must be placed in an extra compilation unit is put here and this file is linked to tc-basedefs-0.c to be accessible from the tests.