summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-28 14:12:51 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-12-01 12:05:15 +0100
commite76beeebff09b6a5eb338f306349ddc451a7804d (patch)
treeabea0748975eba97973ae7e423640a1b51c6e389 /include
parent[MIPS] Generate SIGILL again (diff)
downloadlinux-e76beeebff09b6a5eb338f306349ddc451a7804d.tar.xz
linux-e76beeebff09b6a5eb338f306349ddc451a7804d.zip
[MIPS] Qemu: Qemu is emulating a 1193.182kHz i8254 PIC.
From Daniel Jacobowitz <dan@debian.org>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/mach-qemu/timex.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-mips/mach-qemu/timex.h b/include/asm-mips/mach-qemu/timex.h
new file mode 100644
index 000000000000..cd543693fb0a
--- /dev/null
+++ b/include/asm-mips/mach-qemu/timex.h
@@ -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 */