Date: Thu, 27 Oct 2005 14:45:38 -0700 From: "Moore, Robert" <robert.moore@intel.com> To: "Mathieu Prevot" <mathieu_prevot@yahoo.fr>, "Nate Lawson" <nate@root.org> Cc: freebsd-acpi@freebsd.org Subject: RE: ACPI errors on amd64 (sempron) Message-ID: <971FCB6690CD0E4898387DBF7552B90E0336A807@orsmsx403.amr.corp.intel.com>
next in thread | raw e-mail | index | archive | help
I've already changed this and released it. I changed the logic around so that the special case is the misaligned case -- the new code in actypes.h looks like this: (under #if ACPI_MACHINE_WIDTH =3D=3D 64) /* * In the case of the Itanium Processor Family (IPF), the hardware does not * support misaligned memory transfers. Set the MISALIGNMENT_NOT_SUPPORTED flag * to indicate that special precautions must be taken to avoid alignment faults. * (IA64 or ia64 is currently used by existing compilers to indicate IPF.) * * Note: EM64T and other X86-64 processors do support misaligned transfers, * so there is no need to define this flag. */ #if defined (__IA64__) || defined (__ia64__) #define ACPI_MISALIGNMENT_NOT_SUPPORTED #endif > I simply added >=20 > #define ACPI_MISALIGNED_TRANSFERS >=20 > in /usr/src/sys/amd64/include/acpica_machdep.h so the intel actypes.h > is preserved. > Maybe it is simpler than touching the Robert's / Intel's code. Is it > right ? > If so, someone have to commit it on the CVS sources. Can you do it > before the release ? >=20 > --MP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?971FCB6690CD0E4898387DBF7552B90E0336A807>