Changeset a5556b4 in mainline for arch/ia32/src/asm.S


Ignore:
Timestamp:
2005-09-17T21:24:40Z (19 years ago)
Author:
Sergey Bondari <bondari@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
714675b
Parents:
6799505
Message:

outb inline function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/asm.S

    r6799505 ra5556b4  
    4141.global inw
    4242.global inl
    43 .global outb
    4443.global outw
    4544.global outl
     
    191190        movl 4(%esp),%edx
    192191        inl %dx,%eax
    193         ret
    194 
    195 
    196 ## I/O output (byte)
    197 #
    198 # Send a byte to I/O port.
    199 #
    200 outb:
    201         push %eax
    202 
    203         movl 8(%esp),%edx
    204         movl 12(%esp),%eax
    205         outb %al,%dx
    206 
    207         pop %eax
    208192        ret
    209193
Note: See TracChangeset for help on using the changeset viewer.