From owner-acpi-jp@jp.FreeBSD.org Sat Jul 13 02:05:21 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g6CH5Ll18031;
	Sat, 13 Jul 2002 02:05:21 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from melete.ch.intel.com (chfdns02.ch.intel.com [143.182.246.25])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g6CH5Fn18022;
	Sat, 13 Jul 2002 02:05:15 +0900 (JST)
	(envelope-from andrew.grover@intel.com)
Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128])
	by melete.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g6CH5Cx09720;
	Fri, 12 Jul 2002 17:05:13 GMT
Received: from fmsmsx26.fm.intel.com ([132.233.42.26])
 by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002071210055423904
 ; Fri, 12 Jul 2002 10:05:54 -0700
Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <NWJT0HTA>; Fri, 12 Jul 2002 10:05:12 -0700
Message-ID: <59885C5E3098D511AD690002A5072D3C02AB7F9E@orsmsx111.jf.intel.com>
From: "Grover, Andrew" <andrew.grover@intel.com>
To: "'Mitsuru IWASAKI'" <iwasaki@jp.FreeBSD.org>, acpi-jp@jp.FreeBSD.org
Date: Fri, 12 Jul 2002 10:05:10 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020713
X-Sequence: acpi-jp 1674
Subject: [acpi-jp 1674] RE: Intel's acpi 
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: andrew.grover@intel.com

> From: Mitsuru IWASAKI [mailto:iwasaki@jp.FreeBSD.org] 
> Ah, I thought ACPI CA is going that way like having WIN32 and
> WIN64-specific headers.
> *BSD systems have the framework for this purpose.  In arch-specific
> header directory, we can have arch-specific headers and 
> arch-independent
> source files can include them, like;
> 
> #include <machine/acpica_machdep.h>
> 
> i.e. in acfreebsd.h includes sys/i386/include/acpica_machdep.h or
> sys/ia64/include/acpica_machdep.h depending on its machine 
> architecture.
> 
> Sample code attached.  Could you review them?

This is what Linux does, too (well, the names are a little different but the
idea is the same.)

So yes, this approach seems to work.

Regards -- Andy
