Subject: Re: CVS commit: src/regress/sys/kern/ras
To: Stephan Uphoff <ups@stups.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 01/06/2004 20:37:41
--Apple-Mail-26-653781374
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Jan 7, 2004, at 3:37 AM, Stephan Uphoff wrote:

> This means that (excluding the last write opcode) the ras section
> should not modify any registers (or auxiliary memory) that are
> live (will be read later in the code) at the beginning of the section.

Using:

	__asm __volatile("":::"memory");

on both sides of the RAS ought to be enough, if the RAS doesn't operate 
on any locals.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-26-653781374
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/+40WOpVKkaBm8XkRArRfAJ9+9E0hT+zNks2iilN5Avtxcdd25gCgvlti
DkJIrjuOkAb+Nv+aWO8BOrw=
=ILbf
-----END PGP SIGNATURE-----

--Apple-Mail-26-653781374--