Searched hist:"214475 d865402bbbf99ebcc939ba9988d9f9e782" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/acpica/ |
H A D | acpi_timer.c | diff 214475d865402bbbf99ebcc939ba9988d9f9e782 Wed Apr 30 07:27:01 CEST 2003 Marcel Moolenaar <marcel@FreeBSD.org> 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. diff 214475d865402bbbf99ebcc939ba9988d9f9e782 Wed Apr 30 07:27:01 CEST 2003 Marcel Moolenaar <marcel@FreeBSD.org> 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.
|