Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/regress/sys/kern/ras




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@localhost>

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index