๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mailing.netbsd.source-changes
1 messages
1 total messages Started by Joerg Sonnenberger Fri, 05 Aug 2016 16:26
Re: CVS commit: src/sys/arch
#1
Author: Joerg Sonnenberger
Date: Fri, 05 Aug 2016 16:26
17 lines
1474 bytes
On Fri, Aug 05, 2016 at 10:44:14AM +0200, Maxime Villard wrote:
> Le 04/08/2016 ร  21:09, Joerg Sonnenberger a รฉcrit :
> > On Sun, Jul 24, 2016 at 02:09:22PM +0000, Maxime Villard wrote:
> > > Fix this by properly saving and restoring the EFER MSR. It's a little
> > > tricky since the wakeup code uses %edx, but rdmsr overwrites it. We just
> > > save it in %esi.
> > 
> > Use push/pop around it, please?
> > 
> 
> Around what, where?

The %edx reinit in acpi_md_sleep_prepare. Just push edx / pop edx around
the rdmsr with a comment about clobbering. Less work to understand what
goes on and certainly not more code either.

Joerg
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads