Esempio n. 1
0
void static_view_init(void)
{
	bluenotes_init();
	explode_init();
	greynotes_init();
	lines_init();
	rows_init();
	scoreboard_init();
	targets_init();
	register_event("set view", set_main_view);
	view_focus = 0.0;
}
Esempio n. 2
0
int ssl_init(void)
{
	char *new_title;

	printk(KERN_INFO "Initializing software serial port version %d\n", 
	       ssl_version);

	line_register_devfs(&lines, &driver, &ssl_driver, serial_lines, 
			    sizeof(serial_lines)/sizeof(serial_lines[0]));

	lines_init(serial_lines, sizeof(serial_lines)/sizeof(serial_lines[0]));

	new_title = add_xterm_umid(opts.xterm_title);
	if(new_title != NULL) opts.xterm_title = new_title;

	register_console(&ssl_cons);
	ssl_init_done = 1;
	return(0);
}
Esempio n. 3
0
File: ssl.c Progetto: 274914765/C
static int ssl_init(void)
{
    char *new_title;

    printk(KERN_INFO "Initializing software serial port version %d\n",
           ssl_version);
    ssl_driver = register_lines(&driver, &ssl_ops, serial_lines,
                    ARRAY_SIZE(serial_lines));

    new_title = add_xterm_umid(opts.xterm_title);
    if (new_title != NULL)
        opts.xterm_title = new_title;

    lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);

    ssl_init_done = 1;
    register_console(&ssl_cons);
    return 0;
}
Esempio n. 4
0
int stdio_init(void)
{
	char *new_title;

	console_driver = register_lines(&driver, &console_ops, vts,
					ARRAY_SIZE(vts));
	if (console_driver == NULL)
		return -1;
	printk(KERN_INFO "Initialized stdio console driver\n");

	new_title = add_xterm_umid(opts.xterm_title);
	if(new_title != NULL)
		opts.xterm_title = new_title;

	lines_init(vts, ARRAY_SIZE(vts), &opts);

	con_init_done = 1;
	register_console(&stdiocons);
	return 0;
}
Esempio n. 5
0
int stdio_init(void)
{
	char *new_title;

	console_driver = line_register_devfs(&console_lines, &driver,
					     &console_ops, vts,
					     ARRAY_SIZE(vts));
	if (NULL == console_driver)
		return -1;
	printk(KERN_INFO "Initialized stdio console driver\n");

	lines_init(vts, sizeof(vts)/sizeof(vts[0]));

	new_title = add_xterm_umid(opts.xterm_title);
	if(new_title != NULL)
		opts.xterm_title = new_title;

	con_init_done = 1;
	register_console(&stdiocons);
	return(0);
}