Date: Tue, 20 Jul 2010 19:43:25 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/acpica/Osd OsdHardware.c OsdMemory.c Message-ID: <201007211831.o6LIVLir099099@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkim 2010-07-20 19:43:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica/Osd OsdHardware.c OsdMemory.c Log: SVN rev 210314 on 2010-07-20 19:43:25Z by jkim MFC: r209965, r209966, r210129, r210137, r210155 - According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 32-bit or 64-bit return value even if the bit width of the port or location is less than 32 or 64. - Use pmap_mapdev()/pmap_unmapdev() to map device memory instead of using AcpiOsMapMemory()/AcpiOsUnmapMemory() (-> pmap_mapbios()/pmap_unmapbios()) for AcpiOsReadMemory() and AcpiOsWriteMemory(). Although they do not sound too obvious, these functions are exclusively used to access memory mapped IO in ACPICA. - Remove 64-bit access from AcpiOsReadMemory() and AcpiOsWriteMemory(). These functions do not support 64-bit access. Likewise, return error when 64-bit access is requested for PCI configuration space. - Clean up some white spaces. Revision Changes Path 1.22.2.1 +26 -46 src/sys/dev/acpica/Osd/OsdHardware.c 1.15.2.1 +10 -22 src/sys/dev/acpica/Osd/OsdMemory.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211831.o6LIVLir099099>