[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ix86 Atomic ops during DMA...
On  9 Aug, Richard B. Johnson wrote:

How about:

lock andl (%ebx),0xffffffff

Not sure 100% if I have the arguments in the right order ;-).

> I need...
> movl (%ebx), %eax # Read status from register in ebx
> movl %eax, (%ebx) # Write it back
> occur together without the bus being taken away by a DMA
> operation until these two instructions are complete.

Bart Hartgers - TUE Eindhoven
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.024 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site