Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ioapi] Fix broken implementation of insX() in the x86 I/O API
  • Loading branch information
Michael Brown committed Oct 27, 2008
1 parent 3fe6bed commit 7a4c129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/i386/include/gpxe/x86_io.h
Expand Up @@ -118,9 +118,9 @@ static inline __always_inline void \
IOAPI_INLINE ( x86, outs ## _insn_suffix ) ( volatile _type *io_addr, \
const _type *data, \
unsigned int count ) { \
unsigned int discard_D; \
unsigned int discard_S; \
__asm__ __volatile__ ( "rep outs" #_insn_suffix \
: "=D" ( discard_D ) \
: "=S" ( discard_S ) \
: "d" ( io_addr ), "c" ( count ), \
"0" ( data ) ); \
}
Expand Down

0 comments on commit 7a4c129

Please sign in to comment.