[MIPS] Qemu: Qemu is emulating a 1193.182kHz i8254 PIC.
Ralf Baechle [Mon, 28 Nov 2005 13:12:51 +0000 (13:12 +0000)]
From Daniel Jacobowitz <dan@debian.org>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

include/asm-mips/mach-qemu/timex.h [new file with mode: 0644]

diff --git a/include/asm-mips/mach-qemu/timex.h b/include/asm-mips/mach-qemu/timex.h
new file mode 100644 (file)
index 0000000..cd54369
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2005 Daniel Jacobowitz
+ */
+#ifndef __ASM_MACH_QEMU_TIMEX_H
+#define __ASM_MACH_QEMU_TIMEX_H
+
+/*
+ * We use a simulated i8254 PIC...
+ */
+#define CLOCK_TICK_RATE                1193182
+
+#endif /* __ASM_MACH_QEMU_TIMEX_H */