Re: S3 wakeup code

Pavel Machek
2003-07-24T20:04:11Z

Hi!

> > I received some tips from Ole Rohne some time ago, which were:
> >
> > * Insert lcall $0xffff,$0 or machin_restart in various places in
> > wakeup.S and upwards and see if your machine reboots on S3 resume
>
> Ok - i tried this - Doesnt work - Machine seems not to execute the
> wakeup code at all.
>
> And now ?
>
> I read a bit in the ACPI Specs - It seems there are a 32Bit and a 64Bit
> pointer to the wakeup routine. The 32Bit pointer says "superseeded by
> "X_Firmware_Waking_Vector" which seems not to be set in
> drivers/acpi/hardware/hwsleep.c:acpi_set_firmware_waking_vector

What specs is that? As wakeup code starts in *real* mode, I don't see
how 64bit pointer is going to be usefull...

> Might that be one of the causes ?

I don't think so. lcall $0xffff, $0 is not guaranteed to
reboot. Machine is in pretty weird state at that point.

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]