Changeset 714675b in mainline for arch/ia32/src/asm.S
- Timestamp:
- 2005-09-18T09:14:02Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b43e11
- Parents:
- a5556b4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.S
ra5556b4 r714675b 41 41 .global inw 42 42 .global inl 43 .global outw44 .global outl45 43 .global memcpy 46 44 .global memsetb … … 190 188 movl 4(%esp),%edx 191 189 inl %dx,%eax 192 ret193 194 195 ## I/O output (word)196 #197 # Send a word to I/O port.198 #199 outw:200 push %eax201 202 movl 8(%esp),%edx203 movl 12(%esp),%eax204 outw %ax,%dx205 206 pop %eax207 ret208 209 210 ## I/O output (dword)211 #212 # Send a dword to I/O port.213 #214 outl:215 push %eax216 217 movl 8(%esp),%edx218 movl 12(%esp),%eax219 outl %eax,%dx220 221 pop %eax222 190 ret 223 191
Note:
See TracChangeset
for help on using the changeset viewer.