// static object
-extern const component_library audio_component_library;
+DLLEXPORT extern const component_library audio_component_library;
-const component_library audio_component_library DLLEXPORT =
+const component_library audio_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compAudioListTypes,
// static object
-extern const component_library x86_component_library;
+DLLEXPORT extern const component_library x86_component_library;
-const component_library x86_component_library DLLEXPORT =
+const component_library x86_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compX86ListTypes,
}
\f
-extern const sid::component_library cache_component_library;
-
static vector<string>
CacheListTypes ()
{
delete dynamic_cast<cache_component*>(c);
}
-const sid::component_library cache_component_library DLLEXPORT =
+DLLEXPORT extern const sid::component_library cache_component_library;
+
+const sid::component_library cache_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
&CacheListTypes,
// static object
-extern const component_library config_component_library;
+DLLEXPORT extern const component_library config_component_library;
-const component_library config_component_library DLLEXPORT =
+const component_library config_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compConfigListTypes,
// static object
-extern const component_library cgen_component_library;
+DLLEXPORT extern const component_library cgen_component_library;
-const component_library cgen_component_library DLLEXPORT =
+const component_library cgen_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compCGENListTypes,
} // end of namespace console_stuff
-extern const sid::component_library console_component_library;
-const sid::component_library console_component_library DLLEXPORT =
+DLLEXPORT extern const sid::component_library console_component_library;
+const sid::component_library console_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
& console_stuff::compConsoleListTypes,
}
// static object
-extern const component_library gdb_component_library;
+DLLEXPORT extern const component_library gdb_component_library;
-const component_library gdb_component_library DLLEXPORT = {
+const component_library gdb_component_library = {
COMPONENT_LIBRARY_MAGIC,
& gdb_list_types,
& gdb_create,
// static object
-extern const component_library gloss_component_library;
+DLLEXPORT extern const component_library gloss_component_library;
-const component_library gloss_component_library DLLEXPORT =
+const component_library gloss_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compGlossListTypes,
// static object in root namespace
-extern const sid::component_library glue_component_library;
+DLLEXPORT extern const sid::component_library glue_component_library;
-const sid::component_library glue_component_library DLLEXPORT =
+const sid::component_library glue_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
& glue_components::list_types,
// static object
-extern const component_library ide_component_library;
+DLLEXPORT extern const component_library ide_component_library;
-const component_library ide_component_library DLLEXPORT =
+const component_library ide_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compIdeListTypes,
#endif
}
-extern const component_library interrupt_component_library;
+DLLEXPORT extern const component_library interrupt_component_library;
-const component_library interrupt_component_library DLLEXPORT =
+const component_library interrupt_component_library =
{
COMPONENT_LIBRARY_MAGIC,
&compInterruptListTypes,
}
// static object
-extern const component_library hd44780u_component_library;
+DLLEXPORT extern const component_library hd44780u_component_library;
-const component_library hd44780u_component_library DLLEXPORT =
+const component_library hd44780u_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& HD44780U_ListTypes,
// static object
-extern const component_library t6963c_component_library;
+DLLEXPORT extern const component_library t6963c_component_library;
-const component_library t6963c_component_library DLLEXPORT =
+const component_library t6963c_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& T6963C_ListTypes,
}
// static object
-extern const component_library lcd_char_display_component_library;
+DLLEXPORT extern const component_library lcd_char_display_component_library;
-const component_library lcd_char_display_component_library DLLEXPORT =
+const component_library lcd_char_display_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& DevicesListTypes,
// static object
-extern const component_library hd5X10_tester_component_library;
+DLLEXPORT extern const component_library hd5X10_tester_component_library;
-const component_library hd5X10_tester_component_library DLLEXPORT =
+const component_library hd5X10_tester_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& HD44780UTesterListTypes,
// static object
-extern const component_library hd2l_tester_component_library;
+DLLEXPORT extern const component_library hd2l_tester_component_library;
-const component_library hd2l_tester_component_library DLLEXPORT =
+const component_library hd2l_tester_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& HD44780UTesterListTypes,
// static object
-extern const component_library hd1l_tester_component_library;
+DLLEXPORT extern const component_library hd1l_tester_component_library;
-const component_library hd1l_tester_component_library DLLEXPORT =
+const component_library hd1l_tester_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& HD44780UTesterListTypes,
// static object
-extern const component_library hd2l_tester_component_library;
+DLLEXPORT extern const component_library hd2l_tester_component_library;
-const component_library hd2l_tester_component_library DLLEXPORT =
+const component_library hd2l_tester_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& HD44780UTesterListTypes,
// static object
-extern const component_library t6963c_tester_component_library;
+DLLEXPORT extern const component_library t6963c_tester_component_library;
-const component_library t6963c_tester_component_library DLLEXPORT =
+const component_library t6963c_tester_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& T6963CTesterListTypes,
// static object
-extern const component_library t6963c_tester_component_library;
+DLLEXPORT extern const component_library t6963c_tester_component_library;
-const component_library t6963c_tester_component_library DLLEXPORT =
+const component_library t6963c_tester_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& T6963CTesterListTypes,
}
// static object
-extern const component_library loader_component_library;
+DLLEXPORT extern const component_library loader_component_library;
-const component_library loader_component_library DLLEXPORT =
+const component_library loader_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compLoaderListTypes,
// static object
-extern const component_library mapper_component_library;
+DLLEXPORT extern const component_library mapper_component_library;
-const component_library mapper_component_library DLLEXPORT =
+const component_library mapper_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compMapperListTypes,
}
// static object
-extern const component_library busif_component_library;
+DLLEXPORT extern const component_library busif_component_library;
-const component_library busif_component_library DLLEXPORT =
+const component_library busif_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& BusifListTypes,
// static object
-extern const component_library mem_component_library;
+DLLEXPORT extern const component_library mem_component_library;
-const component_library mem_component_library DLLEXPORT =
+const component_library mem_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& compMemoryListTypes,
#endif // SIDTARGET_ARM
-extern const component_library mmu_component_library;
-
static vector<string>
compMmuListTypes()
{
}
-const component_library mmu_component_library DLLEXPORT =
+DLLEXPORT extern const component_library mmu_component_library;
+
+const component_library mmu_component_library =
{
COMPONENT_LIBRARY_MAGIC,
&compMmuListTypes,
// static object
-extern const component_library parport_component_library;
+DLLEXPORT extern const component_library parport_component_library;
-const component_library parport_component_library DLLEXPORT =
+const component_library parport_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& ParPortListTypes,
// static object in root namespace
-extern const sid::component_library prof_component_library;
+DLLEXPORT extern const sid::component_library prof_component_library;
-const sid::component_library prof_component_library DLLEXPORT =
+const sid::component_library prof_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
& profiling_components::list_types,
// static object
-extern const component_library rtc_component_library;
+DLLEXPORT extern const component_library rtc_component_library;
-const component_library rtc_component_library DLLEXPORT =
+const component_library rtc_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& rtcListTypes,
// static object in root namespace
-extern const sid::component_library sched_component_library;
+DLLEXPORT extern const sid::component_library sched_component_library;
-const sid::component_library sched_component_library DLLEXPORT =
+const sid::component_library sched_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
& scheduler_component::list_types,
// static object
-extern const sid::component_library tcl_bridge_library;
+DLLEXPORT extern const sid::component_library tcl_bridge_library;
-const sid::component_library tcl_bridge_library DLLEXPORT =
+const sid::component_library tcl_bridge_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
& tcl_api_component::list_types,
#endif
-extern const component_library timer_component_library;
-
static vector<string>
compTimerListTypes()
{
}
-const component_library timer_component_library DLLEXPORT =
+DLLEXPORT extern const component_library timer_component_library;
+
+const component_library timer_component_library =
{
COMPONENT_LIBRARY_MAGIC,
&compTimerListTypes,
// static object
-extern const component_library uart_component_library;
+DLLEXPORT extern const component_library uart_component_library;
-const component_library uart_component_library DLLEXPORT =
+const component_library uart_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& UartListTypes,
// static object
-extern const component_library devices_component_library;
+DLLEXPORT extern const component_library devices_component_library;
-const component_library devices_component_library DLLEXPORT =
+const component_library devices_component_library =
{
COMPONENT_LIBRARY_MAGIC,
& DevicesListTypes,
// This symbol is used by the library loader to validate the library
// and instantiate components of the types supported by this library.
-extern const sid::component_library example_component_library;
+DLLEXPORT extern const sid::component_library example_component_library;
-const sid::component_library example_component_library DLLEXPORT =
+const sid::component_library example_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
& timer_example::TimerListTypes,
// This symbol is used by the library loader to validate the library
// and instantiate components of the types supported by this library.
-extern const sid::component_library example_component_library;
+DLLEXPORT extern const sid::component_library example_component_library;
-const sid::component_library example_component_library DLLEXPORT =
+const sid::component_library example_component_library =
{
sid::COMPONENT_LIBRARY_MAGIC,
&timer_example::TimerListTypes,