1 #include <linux/init.h>
5 #define QEMU_PORT_BASE 0xb4000000
7 const char *get_system_type(void)
12 static void __init qemu_timer_setup(struct irqaction *irq)
14 /* set the clock to 100 Hz */
15 outb_p(0x34,0x43); /* binary, mode 2, LSB/MSB, ch 0 */
16 outb_p(LATCH & 0xff , 0x40); /* LSB */
17 outb(LATCH >> 8 , 0x40); /* MSB */
21 void __init plat_setup(void)
23 set_io_port_base(QEMU_PORT_BASE);
24 board_timer_setup = qemu_timer_setup;