Re: [rft] s2ram wakeup moves to .c, could fix few machines

Rafael J. Wysocki
2008-02-07T22:57:32Z

On Thursday, 7 of February 2008, H. Peter Anvin wrote:
> Pavel Machek wrote:
> >
> > This is probably more acceptable version of beep; but there are
> > probably even better ways to clean it...
> >
> > if (wakeup_header.realmode_flags & 4) {
> > inb(97);
> > outb(0, 0x80);
> > outb(3, 97);
> > outb(0, 0x80);
> > outb(-74, 67);
> > outb(0, 0x80);
> > outb(-119, 66);
> > outb(0, 0x80);
> > outb(15, 66);
> > }
> >
>
> What is available at this point -- are BIOS calls still accessible; are
> interrupts running?

No interrupts.

We're in the real mode, so BIOS calls should be accessible.

Rafael