Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:47

0001 /*
0002  * Copyright (C) 2015, 2016 embedded brains GmbH & Co. KG
0003  *
0004  * The license and distribution terms for this file may be
0005  * found in the file LICENSE in this distribution or at
0006  * http://www.rtems.com/license/LICENSE.
0007  */
0008 
0009 #ifndef SPLINKERSET01_H
0010 #define SPLINKERSET01_H
0011 
0012 #ifdef __cplusplus
0013 extern "C" {
0014 #endif /* __cplusplus */
0015 
0016 #include <rtems/linkersets.h>
0017 
0018 extern const int a[4];
0019 
0020 extern const int ca[5];
0021 
0022 RTEMS_LINKER_RWSET_DECLARE(test_rw, const int *);
0023 
0024 RTEMS_LINKER_ROSET_DECLARE(test_ro, const int *);
0025 
0026 RTEMS_LINKER_RWSET_DECLARE(test_content_rw, char);
0027 
0028 RTEMS_LINKER_ROSET_DECLARE(test_content_ro, char);
0029 
0030 RTEMS_LINKER_RWSET_ITEM_ORDERED_DECLARE(test_rw, const int *, a1, 1);
0031 
0032 RTEMS_LINKER_ROSET_ITEM_ORDERED_DECLARE(test_ro, const int *, ca2, OC);
0033 
0034 RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern int content_rw_1);
0035 RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern char content_rw_2);
0036 RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern char content_rw_3);
0037 
0038 RTEMS_LINKER_ROSET_CONTENT(test_content_ro, extern const int content_ro_1);
0039 RTEMS_LINKER_ROSET_CONTENT(test_content_ro, extern const char content_ro_2);
0040 RTEMS_LINKER_ROSET_CONTENT(test_content_ro, extern const char content_ro_3);
0041 
0042 #ifdef __cplusplus
0043 }
0044 #endif /* __cplusplus */
0045 
0046 #endif /* SPLINKERSET01_H */