From owner-acpi-jp@jp.freebsd.org  Mon Sep 11 11:17:25 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id LAA82540;
	Mon, 11 Sep 2000 11:17:25 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from kbtfw.kubota.co.jp (firewall-user@kbtfw.kubota.co.jp [133.253.102.202])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id LAA82535
	for <acpi-jp@jp.freebsd.org>; Mon, 11 Sep 2000 11:17:24 +0900 (JST)
	(envelope-from haro@tk.kubota.co.jp)
Received: by kbtfw.kubota.co.jp; id LAA16150; Mon, 11 Sep 2000 11:17:21 +0900 (JST)
Received: from unknown(133.253.122.1) by kbtfw.kubota.co.jp via smap (V4.2)
	id xma015855; Mon, 11 Sep 00 11:16:58 +0900
Received: from jkpc15.tk.kubota.co.jp ([133.253.157.145])
	by kbtmx.eto.kubota.co.jp (8.9.3+3.2W/3.7W) with ESMTP id LAA15436
	for <acpi-jp@jp.freebsd.org>; Mon, 11 Sep 2000 11:16:57 +0900 (JST)
Received: from localhost (localhost.tk.kubota.co.jp [127.0.0.1])
	by jkpc15.tk.kubota.co.jp (8.11.0/3.7W-02/21/99) with ESMTP id e8B2GeV01956
	for <acpi-jp@jp.freebsd.org>; Mon, 11 Sep 2000 11:16:40 +0900 (JST)
To: acpi-jp@jp.freebsd.org
In-Reply-To: <20000908220335L.iwasaki@jp.freebsd.org>
References: <20000906235646Y.iwasaki@jp.FreeBSD.org>
	<20000907140550L.yokoyama@o3.otc.ogis-ri.co.jp>
	<20000908220335L.iwasaki@jp.freebsd.org><200009071212.VAA41382@shidahara1.planet.sci.kobe-u.ac.jp>
X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000911111640W.haro@tk.kubota.co.jp>
Date: Mon, 11 Sep 2000 11:16:40 +0900
From: Munehiro Matsuda <haro@tk.kubota.co.jp>
X-Dispatcher: imput version 20000228(IM140)
Lines: 81
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 627
Subject: [acpi-jp 627] Re: zzz and ACPI (was: Re: acpi_send_pm_event())
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: haro@tk.kubota.co.jp

$B>>ED!w%/%\%?$G$9!#(B

$B!t$^$H$^$C$?;~4V$,$H$l$J$$$N$G!"$"$^$j?JE8$O$"$j$^$;$s!#(B(_ _)

$B$H$j$"$($:!"(B[acpi-jp 623][acpi-jp 620]$B$N%Q%C%A$rEv$F$?=j!"(B
$B0JA0$h$j$A$g$C$H?J$_$^$7$?$,!"AjJQ$o$i$:%O%s%0$9$k$h$&$G$9!#(B

Subject: [acpi-jp 623] Re: zzz and ACPI (was: Re: acpi_send_pm_event())
From: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Date: Thu, 07 Sep 2000 21:12:53 +0900
::># eval $BB&$O$I$J$?$+$*4j$$(B (^^;
::$B$3$s$J46$8$G0l1~$^$H$b$KF0$/$+$H;W$$$^$9!#(B
::
::Index: aml_evalobj.c
<$BCfN,(B>
::+		num=aml_objtonum(env,aml_eval_name(env, wname));
::+		env->tempobject.type=aml_t_num;
::+		env->tempobject.type=(num>>(field->bitoffset &7))
                                ^^^^$B"*$3$3$O(B num.number$B$G$9$h$M!#(B:-)

Re: [acpi-jp 625] Re: zzz and ACPI (was: Re: acpi_send_pm_event())
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
Date: Fri, 08 Sep 2000 22:03:35 +0900
::$B$=$l$H!"(B[acpi-jp 620] $B$N$\$/$N%Q%C%A$@$HIT==J,$@$H$$$&$3$H$,H=L@$7$^$7$?!#(B
::$B85$NCM$rFI$`$?$a$K!"(B
::		tmpobj = aml_eval_name(env, wname);
::$B$rDI2C$7$^$7$?$,!"$3$l$,(B env->tempobject $B$NCM$r99?7$7$F$7$^$&$N$G!"(B
::aml_parse.c:1614 $B9T$"$?$j$G<hF@$7$F$*$$$?(B
::		destname1 = aml_parse_termobj(env, indent);
::$B$N(B destname1->property ($B<BBN$O(B env->tempobject) $B$NCM$,JQ$o$C$F$7$^$$$^$9!#(B
::$B$H$j$"$($:<j85$G$O(B
::		tempobject_saved = env->tempobject;	/* XXX */
::		tmpobj = aml_eval_name(env, wname);
::			:
::		env->tempobject = tempobject_saved;		/* XXX */
::$B$H$7$F$$$^$9$,!"$3$l$8$c$!$J$!$H$$$&46$8$G$9!#(B

$B$H$j$"$($:>e5-$N=$@5$r<j85$KH?1G$5$;$F<B83$7$?=j!"0J2<$NI=<($G%O%s%0(B
$B$7$^$7$?!#(B

  [\_SB_.PCI0.PX40.UAR1.PUAR._OFF. START]
  Store(Zero, U1EN)[write(1, 0x0, 0x398)][read(1, 0x399)->0xcb][write(1, 0x0, 0x398)]

$B%7%9%F%`5/F0;~$N%m%0$G$O!"(B
  [\\_SB_.PCI0.PX40.UAR1.PUAR._STA. START]
  Return(U1EN[write(1, 0x0, 0x398)][read(1, 0x399)->0xcb])
  [\\_SB_.PCI0.PX40.UAR1.PUAR._STA. END]
  Num:0x1
$B$HI=<($5$l$F$$$^$9!#(B
$B$^$?!"(Bamldb$B$G$b0J2<$NDL$j!"$&$^$/$$$C$F$$$k$h$&$G$9!#(B
	AML>r \_SB_.PCI0.PX40.UAR1.PUAR._OFF
	Method: Arg 0 From 0x28061eed To 0x28061ef3
	==== Running \_SB_.PCI0.PX40.UAR1.PUAR._OFF. ====
	AML>s
	[\_SB_.PCI0.PX40.UAR1.PUAR._OFF. START]
	Store(Zero, U1EN)
	[aml_region_write(1, 1, 0x0, 0x398, 0x0, 0x8)]
	        [1:0x00@0x398]->[1:0x00@0x398]
	[write(1, 0x0, 0x398)]
	[aml_region_read(1, 1, 0x398, 0x8, 0x8)]
		[1:0x00@0x399]
	DEBUG[read(1, 0x399)&mask:0x0](default: 0x0 / 0) >>0xcb
	        [1:0x00@0x399]->[1:0xcb@0x399]
	[read(1, 0x399)->0xcb]
	[aml_region_write(1, 1, 0x0, 0x398, 0x0, 0x8)]
		[1:0x00@0x398]->[1:0x00@0x398]
	[write(1, 0x0, 0x398)]
	[aml_region_write(1, 1, 0xc9, 0x398, 0x8, 0x8)]
		[1:0xcb@0x399]->[1:0xc9@0x399]
	[write(1, 0xc9, 0x399)]
	AML>

$B$b$7$+$9$k$H!"%O!<%I$+(BBIOS$B$NLdBj$b9M$($i$l$k$N$G!"$=$A$i$NJ}LL$b(B
$BD4$Y$F$_$^$9!#(B

$B$G$O!#(B
=--------------------------------------------------------------------------
           _ _           $B3t<02q<R%/%\%?(B $BEl5~K\<R(B $B5;=Q3+H/K\It(B
 -|- /_\  |_|_|            $B>>ED(B  $B=!9@(B
 /|\ |_|  |_|_|          E-mail: haro@kubota.co.jp
                         Tel: 03-3245-3318  Fax: 03-3245-3315
