diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 5 | ||||
| -rw-r--r-- | include/rtm.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 2587df9c41..a3dad27989 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -758,8 +758,9 @@ enum rt_device_class_type RT_Device_Class_PM, /**< PM pseudo device */ RT_Device_Class_Pipe, /**< Pipe device */ RT_Device_Class_Portal, /**< Portal device */ - RT_Device_Class_Miscellaneous, /**< Miscellaneous device */ - RT_Device_Class_Unknown /**< unknown device */ + RT_Device_Class_Timer, /**< Timer device */ + RT_Device_Class_Miscellaneous, /**< Miscellaneous device */ + RT_Device_Class_Unknown /**< unknown device */ }; /** diff --git a/include/rtm.h b/include/rtm.h index e888153a14..05419e4420 100644 --- a/include/rtm.h +++ b/include/rtm.h @@ -42,7 +42,7 @@ __declspec(allocate("RTMSymTab$f"))const char __rtmsym_##symbol##_name[] = "__vs #else #define RTM_EXPORT(symbol) \ -const char __rtmsym_##symbol##_name[] SECTION(".name") = #symbol; \ +const char __rtmsym_##symbol##_name[] SECTION(".rodata.name") = #symbol; \ const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \ { \ (void *)&symbol, \ |
