]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Minor tweaks to the resume code. Previous commit reverted alignment back
authornjl <njl@FreeBSD.org>
Sat, 10 Jun 2006 08:20:03 +0000 (08:20 +0000)
committernjl <njl@FreeBSD.org>
Sat, 10 Jun 2006 08:20:03 +0000 (08:20 +0000)
commit66b0070261edf8213d0517b7a31e3e4bf28f2fe3
tree91f52fdd204b24111f29ecd6807eb88f5ed48c85
parent00c07c39910ef7f9f06adf874feb0470efa94dd6
Minor tweaks to the resume code.  Previous commit reverted alignment back
to 4.  There is no need to be more strict at assembly time since we copy
the code anyway to a private page.

* Clear the direction flag and eflags.  Probably not necessary but it won't
  hurt to be safe.
* Add prefixes to all instructions to prevent any assembler mistakes.
* Remove zeroing of eax - edi.  We use those registers immediately after
  to transfer values to protected mode so this was pointless.
* Update comments to reflect info found during code review.
sys/i386/acpica/acpi_wakecode.S