Thread (19 messages) flat view 19 messages, 8 authors, 2006-09-20

Re: [POWERPC] convert string i/o operations to C

From: David Howells <dhowells@redhat.com>
Date: 2006-09-19 12:43:23

Stephen Rothwell [off-list ref] wrote:
+void _insb(volatile u8 __iomem *port, void *buf, int ns)
+{
+	asm volatile("sync");
+	if (ns <= 0)
+		return;
What is "ns" meant to do?  It seems to degrade the _insb() op to just a sync,
but is that correct?

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help