|
@@ -20,12 +20,20 @@ extern char *data16;
|
20
|
20
|
extern char *text16;
|
21
|
21
|
|
22
|
22
|
#define __data16( variable ) \
|
23
|
|
- _data16_ ## variable __asm__ ( #variable ) \
|
24
|
|
- __attribute__ (( section ( ".data16" ) ))
|
|
23
|
+ __attribute__ (( section ( ".data16" ) )) \
|
|
24
|
+ _data16_ ## variable __asm__ ( #variable )
|
|
25
|
+
|
|
26
|
+#define __data16_array( variable, array ) \
|
|
27
|
+ __attribute__ (( section ( ".data16" ) )) \
|
|
28
|
+ _data16_ ## variable array __asm__ ( #variable )
|
25
|
29
|
|
26
|
30
|
#define __text16( variable ) \
|
27
|
|
- _text16_ ## variable __asm__ ( #variable ) \
|
28
|
|
- __attribute__ (( section ( ".text16.data" ) ))
|
|
31
|
+ __attribute__ (( section ( ".text16.data" ) )) \
|
|
32
|
+ _text16_ ## variable __asm__ ( #variable )
|
|
33
|
+
|
|
34
|
+#define __text16_array( variable, array ) \
|
|
35
|
+ __attribute__ (( section ( ".text16.data" ) )) \
|
|
36
|
+ _text16_ ## variable array __asm__ ( #variable )
|
29
|
37
|
|
30
|
38
|
#define __use_data16( variable ) \
|
31
|
39
|
( * ( ( typeof ( _data16_ ## variable ) * ) \
|