ia64/xen-unstable

view xen/arch/ia64/xen/hpsimserial.c @ 9405:29dfadcc5029

[IA64] Followup to xen time cleanup

Clean up to xen time handler. Tristan #if 0 some code because it seems
redundant, which however is actually problematic logic as a reason for
an intermittent timer oops issue of dom0. So delete it now.

Also remove vcpu_wake, since wakeup current has nothing meaningful and
simply waste cpu cycle.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
author awilliam@xenbuild.aw
date Mon Mar 27 15:32:08 2006 -0700 (2006-03-27)
parents 3ca4ca7a9cc2
children
line source
1 /*
2 * HP Ski simulator serial I/O
3 *
4 * Copyright (C) 2004 Hewlett-Packard Co
5 * Dan Magenheimer <dan.magenheimer@hp.com>
6 */
8 #include <linux/config.h>
9 #include <xen/sched.h>
10 #include <xen/serial.h>
11 #include "hpsim_ssc.h"
13 static void hp_ski_putc(struct serial_port *port, char c)
14 {
15 ia64_ssc(c,0,0,0,SSC_PUTCHAR);
16 }
18 static struct uart_driver hp_ski = { .putc = hp_ski_putc };
20 void hpsim_serial_init(void)
21 {
22 serial_register_uart(0, &hp_ski, 0);
23 }