Date: Mon, 27 Oct 2003 17:06:08 +0900 From: User Takawata <takawata@axe-inc.co.jp> To: Nate Lawson <njl@FreeBSD.org> Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/acpica acpi_wakecode.S Message-ID: <200310270803.RAA03826@axe-inc.co.jp> In-Reply-To: Your message of "Sun, 26 Oct 2003 22:26:51 PST." <200310270626.h9R6QpOI039373@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200310270626.h9R6QpOI039373@repoman.freebsd.org>, Nate Lawson wrote : >njl 2003/10/26 22:26:51 PST > > FreeBSD src repository > > Modified files: > sys/i386/acpica acpi_wakecode.S > Log: > Call the VESA reset BIOS vector on the resume path. This may help displays > after resume. I have not found it to break anything. > > Revision Changes Path > 1.4 +9 -0 src/sys/i386/acpica/acpi_wakecode.S How about initializing stack? Index: acpi_wakecode.S =================================================================== RCS file: /home/ncvs/src/sys/i386/acpica/acpi_wakecode.S,v retrieving revision 1.4 diff -u -r1.4 acpi_wakecode.S --- acpi_wakecode.S 27 Oct 2003 06:26:51 -0000 1.4 +++ acpi_wakecode.S 27 Oct 2003 08:02:01 -0000 @@ -31,6 +31,7 @@ #define LOCORE #include <machine/specialreg.h> +#include <machine/param.h> .align 4 .code16 @@ -42,7 +43,10 @@ movw %cs,%ax movw %ax,%ds movw %ax,%ss - + + /* Assume 1 page is allocated for wakecode from the entry*/ + movw $PAGE_SIZE, %sp + /* * Re-initialize video BIOS. Restore DS and SS from CS in * case the BIOS modified them.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310270803.RAA03826>