From owner-acpi-jp@jp.freebsd.org  Thu Oct 18 21:15:10 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id VAA94500;
	Thu, 18 Oct 2001 21:15:10 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id VAA94495
	for <acpi-jp@jp.freebsd.org>; Thu, 18 Oct 2001 21:15:09 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92])
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id f9ICF5m89091
	for <acpi-jp@jp.freebsd.org>; Thu, 18 Oct 2001 21:15:05 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Thu, 18 Oct 2001 21:15:02 +0900 (JST)
Message-Id: <20011018.211502.74754977.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.freebsd.org
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
In-Reply-To: <200110171348.WAA91918@shidahara1.planet.sci.kobe-u.ac.jp>
References: <20011016.223207.74756782.iwasaki@jp.FreeBSD.org>
	<200110171348.WAA91918@shidahara1.planet.sci.kobe-u.ac.jp>
X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1353
Subject: [acpi-jp 1353] Re: DSDT Override
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: iwasaki@jp.freebsd.org

> >Cool!  You really did :-)  Thanks watanabe-san.
> ># do you remember our discussion over a year ago at shimbashi-station?
> 
> I remembered. We may have to enhance our ACPI disassembler 
> so that it can produce the output that can be used as ASL compiler output.

OK, I'll try it coming weekend.  If I fail, somebody please help me. :)

> >+
> >+    if ((acpi_dsdt = preload_search_by_type("acpi_dsdt")) != NULL) {
> >+        if ((p = preload_search_info(acpi_dsdt, MODINFO_ADDR)) != NULL) {
> >+            AcpiGbl_DSDT_TablePtr = *(void **)p;
> >+	    printf("ACPI: DSDT was overridden.\n");
> >+        }
> >+    }
> >+
> 
> Hmmm, touching ACPICA internal variable is not so clean way. 
> I want Intel forks to add official interface for overriding DSDT.
> I tried to load the DSDT with AcpiLoadTable() but rejected 
> with AE_EXIST.

Never mind.  We're already touching ACPICA internal variable such as
AcpiDbgLayer, AcpiDbgLevel or AcpiGbl_FADT :-)
Of course If official interface is provided, then we will happy to use it.
I still think this is good enough and has worth to commit until Intel
folks support it officially.

Thanks


