From owner-acpi-jp@jp.freebsd.org  Tue Oct 30 06:44:00 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id GAA39252;
	Tue, 30 Oct 2001 06:44:00 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id GAA39245
	for <acpi-jp@jp.freebsd.org>; Tue, 30 Oct 2001 06:43:59 +0900 (JST)
	(envelope-from jhb@FreeBSD.org)
Received: (qmail 21454 invoked from network); 29 Oct 2001 21:43:57 -0000
Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender <jhb@FreeBSD.org>)
          by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP
          for <iwasaki@jp.FreeBSD.org>; 29 Oct 2001 21:43:57 -0000
Message-ID: <XFMail.011029134345.jhb@FreeBSD.org>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20011030.051113.112619996.iwasaki@jp.FreeBSD.org>
Date: Mon, 29 Oct 2001 13:43:45 -0800 (PST)
From: John Baldwin <jhb@FreeBSD.org>
To: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
Cc: acpi@phobos.fachschaften.tu-muenchen.de, msmith@FreeBSD.org,
        acpi-jp@jp.freebsd.org
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1405
Subject: [acpi-jp 1405] Re: Libretto L2
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: jhb@FreeBSD.org


On 29-Oct-01 Mitsuru IWASAKI wrote:
> Hi, mike.
> 
>> Do the problems only occur with ACPI_DEBUG defined?  It's conceivable 
>> that calling FUNCTION_TRACE at this point is an error, as it was in the 
>> GetThreadId case.
> 
> I'm trying this with acpi.ko module w/o ACPI_DEBUG...
> 
> BTW, if we jump to sys/i386/acpica/acpi_wakecode.S (in real mode) from
> halfway through this function, does mutex or timer0 get something
> strange after we get back to the caller's environment?

spin locks block preemption, so we shouldn't be suspending in teh middle of
this...  Granted, this becomes a bit more tricky in SMP. :-P

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
