Laurent Vivier 9491e9bc01 i6300esb: remove muldiv64()
Originally, timers were ticks based, and it made sense to
add ticks to current time to know when to trigger an alarm.

But since commit:

7447545 change all other clock references to use nanosecond resolution accessors

All timers use nanoseconds and we need to convert ticks to nanoseconds, by
doing something like:

    y = muldiv64(x, get_ticks_per_sec(), PCI_FREQUENCY)

where x is the number of device ticks and y the number of system ticks.

y is used as nanoseconds in timer functions,
it works because 1 tick is 1 nanosecond.
(get_ticks_per_sec() is 10^9)

But as PCI frequency is 33 MHz, we can also do:

    y = x * 30; /* 33 MHz PCI period is 30 ns */

Which is much more simple.

This implies a 33.333333 MHz PCI frequency,
but this is correct.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
2015-09-25 14:52:17 +02:00
2015-07-08 13:11:01 +02:00
2015-09-14 18:51:09 +01:00
2015-09-14 16:13:16 +01:00
2015-09-11 10:45:43 +03:00
2015-09-25 14:52:17 +02:00
2015-09-11 10:45:43 +03:00
2015-09-11 10:21:38 +03:00
2015-09-21 09:56:49 +02:00
2015-09-11 10:45:43 +03:00
2015-09-21 09:56:49 +02:00
2015-09-14 16:13:16 +01:00
2015-09-19 11:53:15 +02:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2013-10-11 09:34:56 -07:00
2015-07-27 22:44:47 +03:00
2015-08-14 23:40:32 +02:00
2015-04-30 16:05:48 +03:00
2015-09-14 16:13:16 +01:00
2013-07-23 02:41:31 +02:00
2015-09-22 11:32:37 +02:00
2015-09-04 13:26:26 +02:00
2015-09-04 13:26:26 +02:00
2015-09-07 18:14:03 +02:00
2015-09-07 18:14:03 +02:00
2015-09-01 13:16:26 -05:00
2015-09-14 16:51:36 +02:00
2014-05-24 00:07:29 +04:00
2015-07-24 13:57:45 +02:00
2015-05-11 08:59:07 -04:00
2015-05-22 15:58:22 -04:00
2013-10-11 09:34:56 -07:00
2015-09-16 17:33:33 +02:00
2015-09-23 13:04:49 -06:00
2015-08-19 16:29:53 +01:00
2015-08-11 23:15:55 +01:00
2013-10-11 09:34:56 -07:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%