From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1lqI-00047b-6r for qemu-devel@nongnu.org; Sun, 16 Nov 2008 12:55:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1lqF-00047P-Q3 for qemu-devel@nongnu.org; Sun, 16 Nov 2008 12:55:24 -0500 Received: from [199.232.76.173] (port=42827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1lqF-00047M-MU for qemu-devel@nongnu.org; Sun, 16 Nov 2008 12:55:23 -0500 Received: from mail.gmx.net ([213.165.64.20]:43765) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L1lqF-0005hF-Dv for qemu-devel@nongnu.org; Sun, 16 Nov 2008 12:55:23 -0500 Message-ID: <55BF96155E3B42A2A577975171920809@FSCPC> From: "Sebastian Herbszt" References: <20081116093345.23209.79952.stgit@dhcp-1-237.local><20081116093350.23209.81418.stgit@dhcp-1-237.local> <20081116110141.GM20617@redhat.com> In-Reply-To: <20081116110141.GM20617@redhat.com> Subject: Re: [Bochs-developers] [Qemu-devel] [PATCH v4 1/5] Add S3 state toDSDT. Handle resume event in the BIOS. Date: Sun, 16 Nov 2008 18:54:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov , Blue Swirl Cc: bochs-developers@lists.sourceforge.net, qemu-devel@nongnu.org Gleb Natapov wrote: > On Sun, Nov 16, 2008 at 12:50:55PM +0200, Blue Swirl wrote: >> On 11/16/08, Gleb Natapov wrote: >> > +void s3_resume_panic() >> >> How about rather: >> void s3_resume_panic(void) >> >> > +int >> > +s3_resume() >> >> s3_resume(void)? > > Have you tried it? :) > > Hint: bcc doesn't support ANSI-C. It accepts some ansi-c with "-ansi". Man page says "-ansi Pass the C source through unprotoize after preprocessing and before code generation. This will allow some ansi C to be compiled but it is definitly NOT a true ansi-C compiler." - Sebastian