Date: Tue, 29 Apr 2003 22:27:02 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_timer.c Message-ID: <200304300527.h3U5R25r044572@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/04/29 22:27:02 PDT FreeBSD src repository Modified files: sys/dev/acpica acpi_timer.c Log: o Don't announce that the timer is good when in fact it isn't timing at all (ie reads yield constant values). Display the width as the difference between max and min so that constant timers have width zero. o Get the address of the timer from the XPmTmrBlk field instead of the V1_PmTmrBlk field. The former is a generic address and can specify a memory mapped I/O address. Remove <machine/bus_pio.h> to account for this. The timer is now properly configured on machines with ACPI v2 tables, whether PIO or MEMIO. Note that the acpica code converts v1 tables into v2 tables so the address is always present in XPmTmrBlk. o Replace the TIMER_READ macro with a call to the read_counter() function and add a barrier to make sure that we observe proper ordering of the reads. Revision Changes Path 1.22 +43 -22 src/sys/dev/acpica/acpi_timer.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304300527.h3U5R25r044572>