๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mailing.netbsd.source-changes
Article #1

Re: CVS commit: src/sys/arch

#1
From: 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
Technical Details
Message-ID: <mailpost.1470414387.6146198.83539.mailing.netbsd.source-changes@FreeBSD.cs.nctu.edu.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail
References: <e8bea7e8-c03f-4b71-e86c-33763330a389@m00nbsd.net>

Show Full Headers
Complete Article Headers
Message-ID: <mailpost.1470414387.6146198.83539.mailing.netbsd.source-changes@FreeBSD.cs.nctu.edu.tw>
Subject: Re: CVS commit: src/sys/arch
Date: Fri, 5 Aug 2016 18:26:06 +0200
From: joerg@bec.de (Joerg Sonnenberger)
References: <e8bea7e8-c03f-4b71-e86c-33763330a389@m00nbsd.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail
Mime-Version: 1.0
Newsgroups: mailing.netbsd.source-changes
Organization: NCTU CS FreeBSD Server
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Sender: news@FreeBSD.cs.nctu.edu.tw
X-Received-Body-Crc: 1264704196
Content-Transfer-Encoding: 8bit
X-Received-Bytes: 1683
Lines: 18