Changeset 0cb9fa0 in mainline for kernel/arch/ia32/include/asm.h
- Timestamp:
- 2009-02-21T17:09:26Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cecb0789
- Parents:
- 9646159
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/asm.h
r9646159 r0cb9fa0 132 132 static inline void pio_write_32(ioport32_t *port, uint32_t val) 133 133 { 134 asm volatile ("outl % l0, %w1\n" : : "a" (val), "d" (port));134 asm volatile ("outl %0, %w1\n" : : "a" (val), "d" (port)); 135 135 } 136 136 … … 176 176 uint32_t val; 177 177 178 asm volatile ("inl %w1, % l0 \n" : "=a" (val) : "d" (port));178 asm volatile ("inl %w1, %0 \n" : "=a" (val) : "d" (port)); 179 179 return val; 180 180 }
Note:
See TracChangeset
for help on using the changeset viewer.