[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 1/5] Add S3 state to DSDT. Handle resume even
From: |
Gleb Natapov |
Subject: |
Re: [Qemu-devel] [PATCH v4 1/5] Add S3 state to DSDT. Handle resume event in the BIOS. |
Date: |
Sun, 16 Nov 2008 13:15:13 +0200 |
On Sun, Nov 16, 2008 at 01:11:21PM +0200, Blue Swirl wrote:
> On 11/16/08, Gleb Natapov <address@hidden> wrote:
> > On Sun, Nov 16, 2008 at 12:50:55PM +0200, Blue Swirl wrote:
> > > On 11/16/08, Gleb Natapov <address@hidden> 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.
>
> Oh, no.
>
> Doesn't Linux use gcc even for 16 bit code these days? Why can't bochs
> do the same?
There is a project to do just that + rewrite entire BIOS to be C (mostly).
http://www.coreboot.org/SeaBIOS. Sometime Qemu should move to it.
--
Gleb.
[Qemu-devel] [PATCH v4 2/5] Preserve memory content during SMM init., Gleb Natapov, 2008/11/16
[Qemu-devel] [PATCH v4 3/5] Execute rombios32 code from rom address 0xe0000., Gleb Natapov, 2008/11/16