void initialize_all_devices () { //uart_register(); //timer_register(); #ifndef NO_NET net_register (); #endif #ifdef LCD lcd_register (); #endif flash_register (); touchscreen_register (); sound_register (); nandflash_register(); }
void osd_interface::register_options(osd_options &options) { // Register video options and update options video_options_add("none", NULL); video_register(); update_option(options, OSDOPTION_VIDEO, m_video_names); // Register sound options and update options sound_options_add("none", OSD_SOUND_NONE); sound_register(); update_option(options, OSDOPTION_SOUND, m_sound_names); // Register debugger options and update options debugger_options_add("none", OSD_DEBUGGER_NONE); debugger_options_add("internal", OSD_DEBUGGER_INTERNAL); debugger_register(); update_option(options, OSDOPTION_DEBUGGER, m_debugger_names); }
void initialize_all_devices () { /* when module is loaded, they will register itself. */ //uart_register(); //timer_register(); #ifndef NO_NET //net_register (); #endif #ifdef LCD //lcd_register (); #endif //flash_register (); //touchscreen_register (); #if 0 sound_register (); #endif //nandflash_register(); }