Re: Perform minimal RAM test at boot

Peter Steiner (p.steiner@t-online.de)
Tue, 2 Nov 1999 00:05:48 +0100


Dick Johnson wrote:

> align 2 ; Get off DWORD boundary
> not [ebx] ; Invert memory byte
> push eax ; Exercise the bus
> pop eax
> cmp eax, [ebx] ; See if it took
> mov [ebx], ecx ; Put original back

Does this work even with write back L1/L2 caches? I'm using a 2-pass
algorithm to make sure the data really is written back and reread.

Peter

-- 
  _   x    ___   p.steiner@t-online.de (Peter Steiner)
 / \_/_\_ /,--'
 \/>'~~~~//
   \_____/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/