kernels/linux-2.4.0/arch/parisc/kernel/pdc_cons.c
/*
 * Used for emergencies. Currently only used if an HPMC occurs. If an
 * HPMC occurs, it is possible that the current console may not be
 * properly initialed after the PDC IO reset. This routine unregisters all
 * of the current consoles, reinitializes the pdc console and
 * registers it.
 */
Used for emergencies. Currently only used if an HPMC occurs. If an
HPMC occurs, it is possible that the current console may not be
properly initialed after the PDC IO reset. This routine unregisters all
of the current consoles, reinitializes the pdc console and
registers it.
Used for emergencies . Currently only used if an HPMC occurs . If an HPMC occurs it is possible that the current console may not be properly initialed after the PDC IO reset . This routine unregisters all of the current consoles reinitializes the pdc console and registers it .
void pdc_console_restart(void)
{
	struct console *console;
	extern int log_size;
	if (pdc_console_initialized)
		return;
	while ((console = console_drivers) != (struct console *)0)
		unregister_console(console_drivers);
	log_size = 0;
	pdc_console_init();
	printk("Switched to PDC console\n");
	return;
}
void pdc_console_restart ( void ) { struct console * console ; extern int log_size ; if ( pdc_console_initialized ) return ; while ( ( console = console_drivers ) != ( struct console * ) 0 ) unregister_console ( console_drivers ) ; log_size = 0 ; pdc_console_init ( ) ; printk ( " \n " ) ; return ; }
Used for emergencies.
Used for emergencies .