|
@@ -328,13 +328,13 @@ static inline unsigned type in##bwl##_p(int port) \
|
|
|
static inline void outs##bwl(int port, const void *addr, unsigned long count) \
|
|
|
{ \
|
|
|
asm volatile("rep; outs" #bwl \
|
|
|
- : "+S"(addr), "+c"(count) : "d"(port)); \
|
|
|
+ : "+S"(addr), "+c"(count) : "d"(port) : "memory"); \
|
|
|
} \
|
|
|
\
|
|
|
static inline void ins##bwl(int port, void *addr, unsigned long count) \
|
|
|
{ \
|
|
|
asm volatile("rep; ins" #bwl \
|
|
|
- : "+D"(addr), "+c"(count) : "d"(port)); \
|
|
|
+ : "+D"(addr), "+c"(count) : "d"(port) : "memory"); \
|
|
|
}
|
|
|
|
|
|
BUILDIO(b, b, char)
|